HtmlObjectListAdapter.HandlePostBackEvent(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.