MobilePage.GetPrivateViewState Method (MobileControl)


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

Retrieves the view state for the control. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the Web site.

Namespace:   System.Web.UI.MobileControls
Assembly:  System.Web.Mobile (in System.Web.Mobile.dll)

member GetPrivateViewState : 
        ctl:MobileControl -> Object


Type: System.Web.UI.MobileControls.MobileControl

The control for which the state is retrieved.

Return Value

Type: System.Object

The StateBag object associated with the control.

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

.NET Framework
Available since 1.1
Return to top