CatalogZoneBase.SaveViewState Method ()


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

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 calls the base method to save the view state associated with the CatalogZoneBase zone. Next, it saves any view state for the add and close verbs, as well as for the Style objects associated with the PartLinkStyle and the SelectedPartLinkStyle properties.

.NET Framework
Available since 2.0
Return to top