XhtmlControlAdapter.SaveAdapterState Method

Saves view-state data specific to this adapter.

Namespace: System.Web.UI.MobileControls.Adapters.XhtmlAdapters
Assembly: System.Web.Mobile (in system.web.mobile.dll)

public:
virtual Object^ SaveAdapterState () override
public Object SaveAdapterState ()
public override function SaveAdapterState () : Object
Not applicable.

Return Value

SecondaryUIMode if the value of the SecondaryUIMode setting does not equal NotSecondaryUI: otherwise a null reference (Nothing in Visual Basic).

This method is primarily used by developers of custom adapters.

Notes to Inheritors: The base implementation of SaveAdapterState saves the current secondary UI mode in view state. You can override it to save other specific data from view state, but be sure to obtain the current state from the base class, and then combine it with your control-specific state in order to preserve the secondary UI mode across requests. For more information on managing view state, see ASP.NET State Management.

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions

ADD
Show: