Page ViewState debugging can be turned on by adding one or more of the following keys into the AppSettings section of your web.config file:
• | <add key="CMSDebugViewState"value="true"/> - enables the Page ViewState tab in Administration -> System -> Debug |
• | <add key="CMSDebugViewStateLive"value="true"/> - enables ViewState debugging on the live site |
• | <add key="CMSDebugAllViewStates"value="true"/> - enables ViewState debugging for all operations (including the UI) |
• | <add key="CMSDebugViewStateLogLength"value="10" /> - maximal length of the ViewState debug log (number of preserved records) |
It can also be enabled using the bulk keys.
On the Debug -> Page ViewState tab, you can see the ViewState of particular controls on recently loaded pages. The Is dirty column indicates if the
The log can be cleared using the Clear ViewState log button.
Please note: ViewState of the controls is retrieved using reflection. Therefore this debug may not work properly under medium trust environment or other specific circumstances.
Page url: http://devnet.kentico.com/docs/devguide/index.html?viewstate_debugging.htm