ListControl.SaveViewState Method ()


Saves the current view state of the ListControl -derived control and the items it contains.

Namespace:   System.Web.UI.WebControls
Assembly:  System.Web (in System.Web.dll)

override SaveViewState : unit -> Object

Return Value

Type: System.Object

An Object that contains the saved state of the ListControl control.

The SaveViewState method is a helper method called by the ListControl control to save the state of the control.


This method is used primarily by control developers when extending the ListControl control.

.NET Framework
Available since 1.1
Return to top