DataBoundControl.SaveViewState Method


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

 override System::Object ^ SaveViewState();
protected override object SaveViewState ();
override this.SaveViewState : unit -> obj
Protected Overrides Function SaveViewState () As Object


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

Applies to