Ask Learn
Preview
Please sign in to use this experience.
Sign inThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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.
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(System::String ^ eventSource, System::String ^ eventArgument);
public virtual bool HandlePagePostBackEvent(string eventSource, string eventArgument);
abstract member HandlePagePostBackEvent : string * string -> bool
override this.HandlePagePostBackEvent : string * string -> bool
Public Overridable Function HandlePagePostBackEvent (eventSource As String, eventArgument As String) As Boolean
The source identifier for the event.
The name of the event.
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
.
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.
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 |
.NET feedback
.NET is an open source project. Select a link to provide feedback:
Please sign in to use this experience.
Sign in