Gets or sets the view-state mode of this control.
Assembly: System.Web (in System.Web.dll)
You can use the EnableViewState property.property to enable view state for an individual control even if view state is disabled for the page. For more information about view state and control state, see the
To disable view state for a page and to enable it for a specific control on the page, set the EnableViewState property of the page and the control to true, set the property of the page to Disabled, and set the property of the control to Enabled.
The default value of the Enabled. The default value of the property for a Web server control in a page is Inherit. As a result, if you do not set this property at either the page or the control level, the value of the EnableViewState property determines view-state behavior.property for a page is
Available since 4.0