XhtmlCalendarAdapter.SaveAdapterState Method

Saves the current state of the 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

An Object containing information about the current state of the adapter.

This method is called by the page adapter during MobilePage.SaveViewState.

The state of the adapter can include the following information, returned inclusively in the following order:

  • Object containing the state of the base class.

  • integer representing the user's currently selected option.

  • Ticks of the currently selected date.

  • integer representing the number of eras if the current user's culture supports eras.

Notes to Inheritors: When you inherit from the XhtmlCalendarAdapter class and the adapter overrides the SaveAdapterState method, the adapter should call the corresponding base class method before any additional processing.

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: