Search code examples
asp.netviewstate

ASP.NET - Viewstate Size


Is there a reliable method for viewing the size of the viewstate on any given postback?


Solution

    1. Enable Trace in the web.config.
    2. Browse the application http:////Trace.axd
    3. In the "Control Tree" Section , sum up the ViewState Size and Control state Size of the controls.