PageAdapter.RenderPostBackEvent Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Renderiza um evento de postback no fluxo de resposta como um link, incluindo todos os argumentos necessários.
Sobrecargas
| Nome | Description |
|---|---|
| RenderPostBackEvent(HtmlTextWriter, String, String, String, String) |
Renderiza um evento de postback no fluxo de resposta como um hiperlink, incluindo o estado de exibição codificado e possivelmente criptografado e o destino e o argumento do evento. |
| RenderPostBackEvent(HtmlTextWriter, String, String, String, String, String, String) |
Renderiza um evento de postback no fluxo de resposta como um hiperlink, incluindo o estado de exibição codificado e possivelmente criptografado, um destino e um argumento de evento, um parâmetro de página anterior e uma chave de acesso. |
| RenderPostBackEvent(HtmlTextWriter, String, String, String, String, String, String, Boolean) |
Renderiza um evento de postback no fluxo de resposta como um hiperlink, incluindo o estado de exibição codificado, um destino de evento e um argumento, um parâmetro de página anterior e uma chave de acesso. |
RenderPostBackEvent(HtmlTextWriter, String, String, String, String)
Renderiza um evento de postback no fluxo de resposta como um hiperlink, incluindo o estado de exibição codificado e possivelmente criptografado e o destino e o argumento do 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
Os HtmlTextWriter métodos que contêm para renderizar a saída específica de destino.
- argument
- String
O String valor que mantém o argumento a ser passado para o evento de destino de postback.
Comentários
O RenderPostBackEvent método grava um evento de postback como um hiperlink sem script.
Notas aos Herdeiros
Quando você herda da PageAdapter classe, pode substituir o RenderPostBackEvent(HtmlTextWriter, String, String, String, String) método se um formato diferente for necessário para o hiperlink de evento de postback ou se o navegador tiver outros requisitos exclusivos. Por exemplo, alguns navegadores exigem que o texto do hiperlink seja inigualável se o link for renderizado. Você também poderá substituir RenderPostBackEvent(HtmlTextWriter, String, String, String, String) se recursos limitados impedirem incluir o estado de exibição como um parâmetro de URL. O RenderPostBackEvent(HtmlTextWriter, String, String, String, String) método base não grava um atributo para softkeyLabel.
Confira também
Aplica-se a
RenderPostBackEvent(HtmlTextWriter, String, String, String, String, String, String)
Renderiza um evento de postback no fluxo de resposta como um hiperlink, incluindo o estado de exibição codificado e possivelmente criptografado, um destino e um argumento de evento, um parâmetro de página anterior e uma chave de acesso.
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
Os HtmlTextWriter métodos que contêm para renderizar a saída específica de destino.
- argument
- String
O String valor que mantém o argumento a ser passado para o evento de destino de postback.
Comentários
O RenderPostBackEvent método grava um evento de postback como um hiperlink sem script, incluindo o estado de exibição possivelmente em UrlEncode partes, __EVENTTARGET=targetparâmetros __EVENTARGUMENT=argument__PREVIOUSPAGE=currentFilePath e um accessKey="accessKey" atributo.
O estado de exibição será criptografado se o atributo enableViewStateMac do elemento pages (ASP.NET Settings Schema) elemento de configuração estiver definido como true.
Notas aos Herdeiros
Quando você herda da PageAdapter classe, pode substituir o RenderPostBackEvent(HtmlTextWriter, String, String, String, String, String, String) método se um formato diferente for necessário para o hiperlink de evento de postback ou se o navegador tiver outros requisitos exclusivos. Por exemplo, alguns navegadores exigem que o texto do hiperlink seja inigualável se o link for renderizado. Você também poderá substituir RenderPostBackEvent(HtmlTextWriter, String, String, String, String, String, String) se recursos limitados impedirem incluir o estado de exibição como um parâmetro de URL. O RenderPostBackEvent(HtmlTextWriter, String, String, String, String, String, String) método base não grava um atributo para softkeyLabel.
Confira também
Aplica-se a
RenderPostBackEvent(HtmlTextWriter, String, String, String, String, String, String, Boolean)
Renderiza um evento de postback no fluxo de resposta como um hiperlink, incluindo o estado de exibição codificado, um destino de evento e um argumento, um parâmetro de página anterior e uma chave de acesso.
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
Os HtmlTextWriter métodos que contêm para renderizar a saída específica de destino.
- argument
- String
O String valor que mantém o argumento a ser passado para o evento de destino de postback.
- encode
- Boolean
true para usar & como separador de parâmetro de URL; false para usar &.
Comentários
O RenderPostBackEvent método grava um evento de postback como um hiperlink sem script, incluindo o estado de exibição possivelmente em UrlEncode partes, __EVENTTARGET=targetparâmetros __EVENTARGUMENT=argument__PREVIOUSPAGE=currentFilePath e um accessKey="accessKey" atributo.
Notas aos Herdeiros
Quando você herda da PageAdapter classe, pode substituir o RenderPostBackEvent(HtmlTextWriter, String, String, String, String, String, String) método se um formato diferente for necessário para o hiperlink de evento de postback ou se o navegador tiver outros requisitos exclusivos. Por exemplo, alguns navegadores exigem que o texto do hiperlink seja inigualável se o link for renderizado. Você também pode substituir RenderPostBackEvent(HtmlTextWriter, String, String, String, String, String, String) se recursos limitados impedirem incluir o estado de exibição como um parâmetro de URL. O RenderPostBackEvent(HtmlTextWriter, String, String, String, String, String, String) método base não grava um atributo para softkeyLabel.