語言

WmlControlAdapter.RenderPostBackEvent 方法

定義

以控制項為目標來渲染一個回傳事件。 這個 API 已經過時了。 有關如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps &ASP.NET 的網站。

多載

名稱 Description
RenderPostBackEvent(WmlMobileTextWriter, String, String, Boolean, String, Boolean)

以控制項為目標來渲染一個回傳事件。 這個 API 已經過時了。 有關如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps &ASP.NET 的網站。

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

以控制項為目標來渲染一個回傳事件。 這個 API 已經過時了。 有關如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps &ASP.NET 的網站。

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

以控制項為目標來渲染一個回傳事件。 這個 API 已經過時了。 有關如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps &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)

參數

writer
WmlMobileTextWriter

指定的文字撰寫者。

argument
String

行動的理由。 當使用者選擇動作時,該參數會包含在回貼中。

softkeyLabel
String

軟鍵文字。

mapToSoftkey
Boolean

設定為 true if,映射到裝置上的軟金鑰。

text
String

文字定義了連結。

breakAfter
Boolean

若在文字欄位後加入中斷元素,則設為 true 。

備註

若 mapToSoftKey 參數設為 true,則顯示該參數的 softkeyLabel 文字。

另請參閱

適用於

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

以控制項為目標來渲染一個回傳事件。 這個 API 已經過時了。 有關如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps &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)

參數

writer
WmlMobileTextWriter

指定的文字撰寫者。

argument
String

行動的理由。 當使用者選擇動作時,該參數會包含在回貼中。

softkeyLabel
String

軟鍵文字。

mapToSoftkey
Boolean

設定為 true if,映射到裝置上的軟金鑰。

text
String

文字定義了連結。

breakAfter
Boolean

若在文字欄位後加入中斷元素,則設為 true 。

postBackType
WmlPostFieldType

規定後文欄位的書寫方式。

備註

此過載將後回推類型的預設值設為 Normal。 若 mapToSoftKey 參數設為 true,則顯示該參數的 softkeyLabel 文字。 下表顯示用於該 postBackType 論證的後回推類型。

類型 Description
Normal postback 包含一個名稱和一個編碼參數。
Submit postback 包含提交表單的控制項,通常是_EVENTTARGET和指令。
Variable postback 包含名稱和變數參考。
Raw 該回貼包含一個名字和一個論點。

另請參閱

適用於