ModelDataSourceView.SaveViewState Method ()

.NET Framework (current version)

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

Saves the changes to the view state for the ModelDataSourceView object since the time when the page was posted back to the server.

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

protected virtual object SaveViewState()

Return Value

Type: System.Object

The object that contains the changes to the ModelDataSourceView view state; otherwise null if there is no view state associated with the object.

.NET Framework
Available since 4.5
Return to top