This documentation is archived and is not being maintained.

XhtmlCalendarAdapter::HandlePostBackEvent Method

Sets the SecondaryUIMode according to the user's actions on any primary or secondary page of the System.Web.UI.MobileControls::Calendar control.

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

public:
virtual bool HandlePostBackEvent(
	String^ eventArgument
) override

Parameters

eventArgument
Type: System::String

The target SecondaryUIMode expressed as a string.

Return Value

Type: System::Boolean
Always returns true because the method always handles the event.

Implements

IControlAdapter::HandlePostBackEvent(String)

A System.Web.UI.MobileControls::Calendar displays on one or more pages of a mobile device. When the user takes an action on one of those pages, this event handler processes the user's response and determines if the user is done with the calendar and whether the adapter should call ExitSecondaryUIMode, or if the user should be directed to one of the secondary pages of the control.

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