System.Web.UI.WebControls.DetailsView.SaveViewState Method

Saves the current view state of the System.Web.UI.WebControls.DetailsView control.

Syntax

protected override object SaveViewState ()

Returns

An object that contains the saved state of the System.Web.UI.WebControls.DetailsView control.

Remarks

The DetailsView.SaveViewState method is a helper method called by the System.Web.UI.WebControls.DetailsView control to save the state of the control.

Requirements

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