PagesSection.EnableViewState Property
.NET Framework (current version)
Gets or sets a value indicating whether view state is enabled or disabled.
Assembly: System.Web (in System.Web.dll)
<ConfigurationPropertyAttribute("enableViewState", DefaultValue := True)> Public Property EnableViewState As Boolean
Property Value
Type: System.Booleantrue if view state is enabled; false if view state is disabled. The default is true.
The following code example shows how to use the EnableViewState property.
.NET Framework
Available since 2.0
Available since 2.0
Show: