System.Web.UI.PageStatePersister.ViewState Property

Gets or sets an object that represents the data that controls contained by the current System.Web.UI.Page object use to persist across HTTP requests to the Web server.

Syntax

public object ViewState { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

View state is a dictionary of state data that Web server controls need to function and render themselves. Control developers typically access the view state object using the Control.ViewState property. View state is affected when view state is disabled at the System.Web.UI.Page level, and as a result controls might not behave correctly in these scenarios. For more information on using Control.ViewState and control state when developing controls, see Developing Custom ASP.NET Server Controls.

Requirements

Namespace: System.Web.UI
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0