XhtmlPageAdapter.HandlePagePostBackEvent Method

Note: This method is new in the .NET Framework version 2.0.

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
)
public boolean HandlePagePostBackEvent (
	String eventSource, 
	String eventArgument
)
public function HandlePagePostBackEvent (
	eventSource : String, 
	eventArgument : String
) : boolean

Parameters

eventSource

The source identifier for the event.

eventArgument

The name of the event.

Return Value

false.

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 98, Windows 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 .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0

Community Additions

ADD
Show: