Edit

Share via


WebZone.SaveViewState Method

Definition

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

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

Returns

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

Remarks

The SaveViewState method overrides the base SaveViewState method to save view-state changes to the various style properties of a zone, such as HeaderStyle, FooterStyle, and PartStyle.

Applies to

See also