System.Web.UI.Control.HasChildViewState Property

Gets a value indicating whether the current server control's child controls have any saved view-state settings.

Syntax

protected bool HasChildViewState { get; }

Value

Documentation for this section has not yet been entered.

Remarks

You can avoid unnecessary calls to the Control.ClearChildViewState method by using this property to verify that any child controls of the server control are storing view-state information.

Requirements

Namespace: System.Web.UI
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0