WmlControlAdapter.RenderPostBackEvent Método

Definición

Representa un evento de postback con el control como destino. Esta API está obsoleta. Para obtener información sobre cómo desarrollar aplicaciones móviles ASP.NET, consulta Mobile Apps & Sitios con ASP.NET.

Sobrecargas

Nombre Description
RenderPostBackEvent(WmlMobileTextWriter, String, String, Boolean, String, Boolean)

Representa un evento de postback con el control como destino. Esta API está obsoleta. Para obtener información sobre cómo desarrollar aplicaciones móviles ASP.NET, consulta Mobile Apps & Sitios con ASP.NET.

RenderPostBackEvent(WmlMobileTextWriter, String, String, Boolean, String, Boolean, WmlPostFieldType)

Representa un evento de postback con el control como destino. Esta API está obsoleta. Para obtener información sobre cómo desarrollar aplicaciones móviles ASP.NET, consulta Mobile Apps & Sitios con ASP.NET.

RenderPostBackEvent(WmlMobileTextWriter, String, String, Boolean, String, Boolean)

Representa un evento de postback con el control como destino. Esta API está obsoleta. Para obtener información sobre cómo desarrollar aplicaciones móviles ASP.NET, consulta Mobile Apps & Sitios con ASP.NET.

protected:
 void RenderPostBackEvent(System::Web::UI::MobileControls::Adapters::WmlMobileTextWriter ^ writer, System::String ^ argument, System::String ^ softkeyLabel, bool mapToSoftkey, System::String ^ text, bool breakAfter);
protected void RenderPostBackEvent(System.Web.UI.MobileControls.Adapters.WmlMobileTextWriter writer, string argument, string softkeyLabel, bool mapToSoftkey, string text, bool breakAfter);
member this.RenderPostBackEvent : System.Web.UI.MobileControls.Adapters.WmlMobileTextWriter * string * string * bool * string * bool -> unit
Protected Sub RenderPostBackEvent (writer As WmlMobileTextWriter, argument As String, softkeyLabel As String, mapToSoftkey As Boolean, text As String, breakAfter As Boolean)

Parámetros

writer
WmlMobileTextWriter

Escritor de texto especificado.

argument
String

Argumento de la acción. El argumento se incluye en el postback generado cuando el usuario selecciona la acción.

softkeyLabel
String

Texto de tecla temporal.

mapToSoftkey
Boolean

Establézcalo en si se asigna true a una tecla temporal en el dispositivo.

text
String

Texto que define el vínculo.

breakAfter
Boolean

Establézcalo en true si se agrega un elemento break después del campo de texto.

Comentarios

Si el mapToSoftKey parámetro se establece en true, se muestra el texto del softkeyLabel parámetro .

Consulte también

Se aplica a

RenderPostBackEvent(WmlMobileTextWriter, String, String, Boolean, String, Boolean, WmlPostFieldType)

Representa un evento de postback con el control como destino. Esta API está obsoleta. Para obtener información sobre cómo desarrollar aplicaciones móviles ASP.NET, consulta Mobile Apps & Sitios con ASP.NET.

protected:
 void RenderPostBackEvent(System::Web::UI::MobileControls::Adapters::WmlMobileTextWriter ^ writer, System::String ^ argument, System::String ^ softkeyLabel, bool mapToSoftkey, System::String ^ text, bool breakAfter, System::Web::UI::MobileControls::Adapters::WmlPostFieldType postBackType);
protected void RenderPostBackEvent(System.Web.UI.MobileControls.Adapters.WmlMobileTextWriter writer, string argument, string softkeyLabel, bool mapToSoftkey, string text, bool breakAfter, System.Web.UI.MobileControls.Adapters.WmlPostFieldType postBackType);
member this.RenderPostBackEvent : System.Web.UI.MobileControls.Adapters.WmlMobileTextWriter * string * string * bool * string * bool * System.Web.UI.MobileControls.Adapters.WmlPostFieldType -> unit
Protected Sub RenderPostBackEvent (writer As WmlMobileTextWriter, argument As String, softkeyLabel As String, mapToSoftkey As Boolean, text As String, breakAfter As Boolean, postBackType As WmlPostFieldType)

Parámetros

writer
WmlMobileTextWriter

Escritor de texto especificado.

argument
String

Argumento de la acción. El argumento se incluye en el postback generado cuando el usuario selecciona la acción.

softkeyLabel
String

Texto de tecla temporal.

mapToSoftkey
Boolean

Establézcalo en si se asigna true a una tecla temporal en el dispositivo.

text
String

Texto que define el vínculo.

breakAfter
Boolean

Establézcalo en true si se agrega un elemento break después del campo de texto.

postBackType
WmlPostFieldType

Especifica cómo se escribe el campo de postcampo.

Comentarios

Esta sobrecarga establece el valor predeterminado para el tipo de postback en Normal. Si el mapToSoftKey parámetro se establece en true, se muestra el texto del softkeyLabel parámetro . En la tabla siguiente se muestran los tipos de postback usados para el postBackType argumento .

Tipo Descripción
Normal El postback contiene un nombre y un argumento codificado.
Submit El postback contiene el control usado para enviar el formulario, normalmente una _EVENTTARGET y un comando.
Variable El postback contiene un nombre y una referencia de variable.
Raw El postback contiene un nombre y un argumento.

Consulte también

Se aplica a