WebPartZoneBase.SaveViewState Method

Definition

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

C#
protected override object SaveViewState();

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 invokes the base SaveViewState method to render style attributes for the zone. It also saves state information for all the individual verbs and the verbs menu in a zone.

Applies to

Product Versions
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

See also