XhtmlPageAdapter.HandlePagePostBackEvent(String, String) Método
Definição
Indica se o adaptador trata do evento de postback.Indicates whether the adapter handles the postback event. Esta API está obsoleta.This API is obsolete. Para saber mais sobre como desenvolver aplicativos móveis ASP.NET, veja Mobile Apps & Sites with ASP.NET (Aplicativos móveis e sites com ASP.NET).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
Parâmetros
- eventSource
- String
O identificador de origem do evento.The source identifier for the event.
- eventArgument
- String
O nome do evento.The name of the event.
Retornos
false.false.
Implementações
Comentários
O HandlePagePostBackEvent método é chamado durante o postback.The HandlePagePostBackEvent method is called during postback. Um adaptador pode optar por manipular o evento.An adapter can choose to handle the event. A XhtmlPageAdapter classe não manipula o evento de postagem e sempre retorna false .The XhtmlPageAdapter class does not handle the postback event and always returns false.
Notas aos Herdeiros
Ao substituir o HandlePagePostBackEvent(String, String) método em uma classe derivada, se você quiser que o adaptador de página manipule o evento de postback, retorne true depois de manipular o evento.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.