Archive

Archive for the ‘StateManagment’ Category

EnableViewState=”false” of a page

February 1, 2014 Leave a comment

When I disable ViewState for the page. It does not allow any control in the page to use ViewState even if I set ViewStateMode=”true” property of a control.
This is because I set turn page’s ViewState off, then there is no way for you to enable ViewState for specific components. This is because ViewState is serialized recursively, so when if the Page is not allowing ViewState, it will not serialize the ViewState for any of it’s child controls.

 

Advertisements
%d bloggers like this: