This documentation is archived and is not being maintained.

XhtmlPageAdapter::HandlePagePostBackEvent Method

Indicates whether the adapter handles the postback event.

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

public:
virtual bool HandlePagePostBackEvent(
	String^ eventSource, 
	String^ eventArgument
)

Parameters

eventSource
Type: System::String

The source identifier for the event.

eventArgument
Type: System::String

The name of the event.

Return Value

Type: System::Boolean
false.

Implements

IPageAdapter::HandlePagePostBackEvent(String, String)

The HandlePagePostBackEvent method is called during postback. An adapter can choose to handle the event. The XhtmlPageAdapter class does not handle the postback event and always returns false.

Notes to Inheritors:

When overriding the HandlePagePostBackEvent method in a derived class, if you want your page adapter to handle the postback event, return true after handling the event.

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: