This documentation is archived and is not being maintained.
StyleSheet::EnableViewState Property
Visual Studio 2010
This member overrides Control::EnableViewState, and more complete documentation might be available in that topic.
Gets or sets a value indicating whether the server control persists its view state, and the view state of any child controls it contains, to the requesting client. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the www.asp.net/mobile Web site.
Assembly: System.Web.Mobile (in System.Web.Mobile.dll)
[BindableAttribute(false)] [BrowsableAttribute(false)] public: virtual property bool EnableViewState { bool get () override; void set (bool value) override; }
<asp:StyleSheet EnableViewState="True|False" />
Property Value
Type: System::Booleantrue if the server control maintains its view state; otherwise false. The default is true.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: