แก้ไข

แชร์ผ่าน


HtmlObjectListAdapter.HandlePostBackEvent(String) Method

Definition

Returns true if the event was handled. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

public:
 override bool HandlePostBackEvent(System::String ^ eventArgument);
public override bool HandlePostBackEvent (string eventArgument);
override this.HandlePostBackEvent : string -> bool
Public Overrides Function HandlePostBackEvent (eventArgument As String) As Boolean

Parameters

eventArgument
String

Name of the event.

Returns

true if the event was handled; otherwise, false.

Exceptions

The postback data is invalid. This exception can be caused by data binding the ObjectList in the OnLoad(EventArgs) event method without first checking the IsPostBack property.

Remarks

This method is called by a control when it receives a postback event notification, to check whether the event is adapter-specific. For more information, see ControlAdapter.HandlePostBackEvent.

Applies to

See also