Export (0) Print
Expand All

XhtmlCalendarAdapter Class

Provides an XHTML adapter class for the System.Web.UI.MobileControls.Calendar.

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

public class XhtmlCalendarAdapter : XhtmlControlAdapter
public class XhtmlCalendarAdapter extends XhtmlControlAdapter
public class XhtmlCalendarAdapter extends XhtmlControlAdapter
Not applicable.

Control or device developers can inherit the XhtmlCalendarAdapter to create a custom adapter to take advantage of a new kind of target device, or to support a custom version of the System.Web.UI.MobileControls.Calendar control.

A custom adapter might override the OnInit or OnLoad methods to change how the Calendar is first presented to the user. Or, you might change LoadAdapterState and SaveAdapterState to track different information about the state of the adapter. You might change OnPreRender to modify data structures for a custom calendar, or add custom processing to the Render method to take advantage of new capabilities in a specific target device. A new target device might also have special needs that require modification to the HandlePostBackEvent method.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

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:
© 2014 Microsoft