PageAdapter.RenderPostBackEvent Método

Definición

Representa un evento de postback en el flujo de respuesta como un vínculo, incluidos todos los argumentos necesarios.

Sobrecargas

Nombre Description
RenderPostBackEvent(HtmlTextWriter, String, String, String, String)

Representa un evento de postback en el flujo de respuesta como hipervínculo, incluido el estado de vista codificado y posiblemente cifrado, y el destino y el argumento del evento.

RenderPostBackEvent(HtmlTextWriter, String, String, String, String, String, String)

Representa un evento de postback en el flujo de respuesta como hipervínculo, incluido el estado de vista codificado y posiblemente cifrado, un destino de evento y un argumento, un parámetro de página anterior y una clave de acceso.

RenderPostBackEvent(HtmlTextWriter, String, String, String, String, String, String, Boolean)

Representa un evento de postback en el flujo de respuesta como hipervínculo, incluido el estado de vista codificado, un destino de evento y un argumento, un parámetro de página anterior y una clave de acceso.

RenderPostBackEvent(HtmlTextWriter, String, String, String, String)

Representa un evento de postback en el flujo de respuesta como hipervínculo, incluido el estado de vista codificado y posiblemente cifrado, y el destino y el argumento del evento.

public:
 virtual void RenderPostBackEvent(System::Web::UI::HtmlTextWriter ^ writer, System::String ^ target, System::String ^ argument, System::String ^ softkeyLabel, System::String ^ text);
public virtual void RenderPostBackEvent(System.Web.UI.HtmlTextWriter writer, string target, string argument, string softkeyLabel, string text);
abstract member RenderPostBackEvent : System.Web.UI.HtmlTextWriter * string * string * string * string -> unit
override this.RenderPostBackEvent : System.Web.UI.HtmlTextWriter * string * string * string * string -> unit
Public Overridable Sub RenderPostBackEvent (writer As HtmlTextWriter, target As String, argument As String, softkeyLabel As String, text As String)

Parámetros

writer
HtmlTextWriter

Métodos HtmlTextWriter contenedores para representar la salida específica del destino.

target
String

Valor String que contiene el nombre de destino del evento de postback.

argument
String

Valor String que contiene el argumento que se va a pasar al evento de destino de postback.

softkeyLabel
String

Valor String que se va a usar como etiqueta de clave temporal.

text
String

Valor String del texto que se va a mostrar como vínculo.

Comentarios

El RenderPostBackEvent método escribe un evento de postback como un hipervínculo sin script.

Notas a los desarrolladores de herederos

Cuando hereda de la PageAdapter clase , puede invalidar el RenderPostBackEvent(HtmlTextWriter, String, String, String, String) método si se requiere un formato diferente para el hipervínculo del evento postback o el explorador tiene otros requisitos únicos. Por ejemplo, algunos exploradores requieren que el texto del hipervínculo no seaempty si el vínculo se va a representar. También puede invalidar RenderPostBackEvent(HtmlTextWriter, String, String, String, String) si los recursos limitados impiden incluir el estado de vista como parámetro de dirección URL. El RenderPostBackEvent(HtmlTextWriter, String, String, String, String) método base no escribe un atributo para softkeyLabel.

Consulte también

Se aplica a

RenderPostBackEvent(HtmlTextWriter, String, String, String, String, String, String)

Representa un evento de postback en el flujo de respuesta como hipervínculo, incluido el estado de vista codificado y posiblemente cifrado, un destino de evento y un argumento, un parámetro de página anterior y una clave de acceso.

public:
 virtual void RenderPostBackEvent(System::Web::UI::HtmlTextWriter ^ writer, System::String ^ target, System::String ^ argument, System::String ^ softkeyLabel, System::String ^ text, System::String ^ postUrl, System::String ^ accessKey);
public virtual void RenderPostBackEvent(System.Web.UI.HtmlTextWriter writer, string target, string argument, string softkeyLabel, string text, string postUrl, string accessKey);
abstract member RenderPostBackEvent : System.Web.UI.HtmlTextWriter * string * string * string * string * string * string -> unit
override this.RenderPostBackEvent : System.Web.UI.HtmlTextWriter * string * string * string * string * string * string -> unit
Public Overridable Sub RenderPostBackEvent (writer As HtmlTextWriter, target As String, argument As String, softkeyLabel As String, text As String, postUrl As String, accessKey As String)

Parámetros

writer
HtmlTextWriter

Métodos HtmlTextWriter contenedores para representar la salida específica del destino.

target
String

Valor String que contiene el nombre de destino del evento de postback.

argument
String

Valor String que contiene el argumento que se va a pasar al evento de destino de postback.

softkeyLabel
String

Valor String que se va a usar como etiqueta de clave temporal.

text
String

Valor String del texto que se va a mostrar como vínculo.

postUrl
String

Valor String que contiene la página de destino de la dirección URL del postback.

accessKey
String

Valor String que se usa para asignar al accessKey atributo del vínculo creado.

Comentarios

El RenderPostBackEvent método escribe un evento de postback como un hipervínculo sin scripts, incluido el estado de vista fragmentado UrlEncode posiblemente, __EVENTTARGET=target, __EVENTARGUMENT=argument, __PREVIOUSPAGE=currentFilePath parámetros y un accessKey="accessKey" atributo .

El estado de vista se cifra si el atributo enableViewStateMac del elemento pages (esquema de configuración de ASP.NET) elemento de configuración está establecido en true.

Notas a los desarrolladores de herederos

Cuando hereda de la PageAdapter clase , puede invalidar el RenderPostBackEvent(HtmlTextWriter, String, String, String, String, String, String) método si se requiere un formato diferente para el hipervínculo del evento postback o el explorador tiene otros requisitos únicos. Por ejemplo, algunos exploradores requieren que el texto del hipervínculo no seaempty si el vínculo se va a representar. También puede invalidar RenderPostBackEvent(HtmlTextWriter, String, String, String, String, String, String) si los recursos limitados impiden incluir el estado de vista como parámetro de dirección URL. El RenderPostBackEvent(HtmlTextWriter, String, String, String, String, String, String) método base no escribe un atributo para softkeyLabel.

Consulte también

Se aplica a

RenderPostBackEvent(HtmlTextWriter, String, String, String, String, String, String, Boolean)

Representa un evento de postback en el flujo de respuesta como hipervínculo, incluido el estado de vista codificado, un destino de evento y un argumento, un parámetro de página anterior y una clave de acceso.

protected:
 void RenderPostBackEvent(System::Web::UI::HtmlTextWriter ^ writer, System::String ^ target, System::String ^ argument, System::String ^ softkeyLabel, System::String ^ text, System::String ^ postUrl, System::String ^ accessKey, bool encode);
protected void RenderPostBackEvent(System.Web.UI.HtmlTextWriter writer, string target, string argument, string softkeyLabel, string text, string postUrl, string accessKey, bool encode);
member this.RenderPostBackEvent : System.Web.UI.HtmlTextWriter * string * string * string * string * string * string * bool -> unit
Protected Sub RenderPostBackEvent (writer As HtmlTextWriter, target As String, argument As String, softkeyLabel As String, text As String, postUrl As String, accessKey As String, encode As Boolean)

Parámetros

writer
HtmlTextWriter

Métodos HtmlTextWriter contenedores para representar la salida específica del destino.

target
String

Valor String que contiene el nombre de destino del evento de postback.

argument
String

Valor String que contiene el argumento que se va a pasar al evento de destino de postback.

softkeyLabel
String

Valor String que se va a usar como etiqueta de clave temporal.

text
String

Valor String del texto que se va a mostrar como vínculo.

postUrl
String

Valor String que contiene la página de destino de la dirección URL del postback.

accessKey
String

Valor String que se va a asignar al accessKey atributo del vínculo creado.

encode
Boolean

true para usar & como separador de parámetros de dirección URL; false para usar &.

Comentarios

El RenderPostBackEvent método escribe un evento de postback como un hipervínculo sin scripts, incluido el estado de vista fragmentado UrlEncode posiblemente, __EVENTTARGET=target, __EVENTARGUMENT=argument, __PREVIOUSPAGE=currentFilePath parámetros y un accessKey="accessKey" atributo .

Notas a los desarrolladores de herederos

Cuando hereda de la PageAdapter clase , puede invalidar el RenderPostBackEvent(HtmlTextWriter, String, String, String, String, String, String) método si se requiere un formato diferente para el hipervínculo del evento postback o el explorador tiene otros requisitos únicos. Por ejemplo, algunos exploradores requieren que el texto del hipervínculo no seaempty si el vínculo se va a representar. También puede invalidar RenderPostBackEvent(HtmlTextWriter, String, String, String, String, String, String) si los recursos limitados impiden incluir el estado de vista como parámetro de dirección URL. El RenderPostBackEvent(HtmlTextWriter, String, String, String, String, String, String) método base no escribe un atributo para softkeyLabel.

Consulte también

Se aplica a