StyleSheet::EnableViewState Property

 

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.

Namespace:   System.Web.UI.MobileControls
Assembly:  System.Web.Mobile (in System.Web.Mobile.dll)

public:
[BindableAttribute(false)]
[BrowsableAttribute(false)]
property bool EnableViewState {
	virtual bool get() override;
	virtual void set(bool value) override;
}

Property Value

Type: System::Boolean

true if the server control maintains its view state; otherwise false. The default is true.

.NET Framework
Available since 1.1
Return to top
Show: