Duration (Pacific Standard Time):
To (Pacific Standard Time):
Impact:
User Action:

DataBoundControl.SaveViewState Method ()

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Saves any view-state changes that have occurred since the time the page was posted back to the server.

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

Protected Overrides Function SaveViewState As Object

Return Value

Type: System.Object

The control's current view state. If there is no view state associated with the control, this method returns null.

.NET Framework
Available since 4.5
Return to top