MobilePage.GetPrivateViewState Method (MobileControl)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com 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 www.asp.net/mobile Web site.

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

public object GetPrivateViewState(
	MobileControl ctl
)

Parameters

ctl
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
Show: