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)

protected override Object SaveViewState()

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.

NoteNote

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

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft