WmlControlAdapter.RenderPostBackEvent Méthode

Définition

Affiche un événement de publication avec le contrôle en tant que cible. Cette API est obsolète. Pour plus d’informations sur le développement d’applications mobiles ASP.NET, consultez Mobile Apps & Sites avec ASP.NET.

Surcharges

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

Affiche un événement de publication avec le contrôle en tant que cible. Cette API est obsolète. Pour plus d’informations sur le développement d’applications mobiles ASP.NET, consultez Mobile Apps & Sites avec ASP.NET.

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

Affiche un événement de publication avec le contrôle en tant que cible. Cette API est obsolète. Pour plus d’informations sur le développement d’applications mobiles ASP.NET, consultez Mobile Apps & Sites avec ASP.NET.

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

Affiche un événement de publication avec le contrôle en tant que cible. Cette API est obsolète. Pour plus d’informations sur le développement d’applications mobiles ASP.NET, consultez Mobile Apps & Sites avec 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)

Paramètres

writer
WmlMobileTextWriter

TextWriter spécifié.

argument
String

Argument pour l'action. L'argument est inclus dans la publication (postback) générée lorsque l'utilisateur sélectionne l'action.

softkeyLabel
String

Texte de la softkey.

mapToSoftkey
Boolean

A la valeur true en cas de mappage vers une softkey sur l'appareil.

text
String

Texte définissant le lien.

breakAfter
Boolean

A la valeur true si un élément de saut est ajouté après le champ de texte.

Remarques

Si le mapToSoftKey paramètre est défini sur true, le texte du softkeyLabel paramètre s’affiche.

Voir aussi

S’applique à

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

Affiche un événement de publication avec le contrôle en tant que cible. Cette API est obsolète. Pour plus d’informations sur le développement d’applications mobiles ASP.NET, consultez Mobile Apps & Sites avec 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)

Paramètres

writer
WmlMobileTextWriter

TextWriter spécifié.

argument
String

Argument pour l'action. L'argument est inclus dans la publication (postback) générée lorsque l'utilisateur sélectionne l'action.

softkeyLabel
String

Texte de la softkey.

mapToSoftkey
Boolean

A la valeur true en cas de mappage vers une softkey sur l'appareil.

text
String

Texte définissant le lien.

breakAfter
Boolean

A la valeur true si un élément de saut est ajouté après le champ de texte.

postBackType
WmlPostFieldType

Spécifie comment le champ de publication est écrit.

Remarques

Cette surcharge définit la valeur par défaut du type de publication sur Normal. Si le mapToSoftKey paramètre est défini sur true, le texte du softkeyLabel paramètre s’affiche. Le tableau suivant montre les types de publication utilisés pour l’argument postBackType .

Type Description
Normal La publication contient un nom et un argument encodé.
Submit La publication contient le contrôle utilisé pour envoyer le formulaire, généralement une _EVENTTARGET et une commande.
Variable La publication contient un nom et une référence de variable.
Raw La publication contient un nom et un argument.

Voir aussi

S’applique à