Edit

Share via


XhtmlPageAdapter.HandlePagePostBackEvent(String, String) Method

Definition

Indicates whether the adapter handles the postback event. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

public virtual bool HandlePagePostBackEvent(string eventSource, string eventArgument);

Parameters

eventSource
String

The source identifier for the event.

eventArgument
String

The name of the event.

Returns

false.

Implements

Remarks

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(String, String) method in a derived class, if you want your page adapter to handle the postback event, return true after handling the event.

Applies to

Product Versions
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

See also