Share via


GetPrivateViewState Method

Retrieves the view state for the control.

public Object GetPrivateViewState (
   System.Web.UI.MobileControls.MobileControl ctl
)

Parameters

  • Ctl
    The control for which the state is retrieved.

Return Values

  • Object
    The StateBag object associated with the control.

Remarks

A control's view state is the aggregation of all its property values.

See Also

Applies to: MobilePage Class