This topic has not yet been rated - Rate this topic

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)
[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
[AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level = AspNetHostingPermissionLevel.Minimal)]
public class XhtmlCalendarAdapter : XhtmlControlAdapter

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 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0, 2.0
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.