Determines whether the specified System.Web.UI.Control object is registered to participate in control state management.
- control
- The System.Web.UI.Control to check for a control state requirement.
true if the specified System.Web.UI.Control requires control state; otherwise, false
Control state is an object composed of critical view-state data that Web server controls need to function; it is contained in a separate object from normal view state.
Custom controls using control state must call the Page.RegisterRequiresControlState(Control) method before saving control state. Use the Page.RequiresControlState(Control) method to check for controls that are registered with the page as requiring control state.