DataGridColumn.SaveViewState Method ()

 

Saves the current state of the DataGridColumn object.

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

protected virtual object SaveViewState()

Return Value

Type: System.Object

An System.Object that contains the saved state of the DataGridColumn.

Use the SaveViewState method to save the state of the DataGridColumn object. This allows a column to perform custom view-state management.

.NET Framework
Available since 1.1
Return to top
Show: