Export (0) Print
Expand All

WebPartZoneBase.SaveViewState Method

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

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

protected override Object SaveViewState()

Return Value

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

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.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0
© 2015 Microsoft