LoadControlState
LoadViewState
SaveControlState
SaveViewState
But a Control has only ViewState property but no ControlState.
Can anyone clarify on the difference between Control's ViewState and
ControlStae?
Thanks.
you can refer to following two links for detailed information about the
Control state and ViewState of the control. You can disable the Viewstate of
the control but not the Controlstate. controlstate is also stored in the
Hidden Field in HTML under_viewstate.
Behavioral state for a control should be kept in control state, and UI state
(its contents) should be kept in view state.
http://www.pluralsight.com/blogs/fritz/archive/2004/07/01/472.aspx
http://msdn.microsoft.com/en-us/library/1whwt1k7.aspx
Regards,
Manish
www.ComponentOne.com