This documentation is archived and is not being maintained.

DataGridColumn.SaveViewState Method

Saves the current state of the DataGridColumn.

[Visual Basic]
Protected Overridable Function SaveViewState() As Object
[C#]
protected virtual object SaveViewState();
[C++]
protected: virtual Object* SaveViewState();
[JScript]
protected function SaveViewState() : Object;

Return Value

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

Remarks

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

Requirements

Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family

See Also

DataGridColumn Class | DataGridColumn Members | System.Web.UI.WebControls Namespace | System.Object

Show: