HtmlPageAdapter.RenderPostBackEvent Method

Definition

Renders a reference to a postback event appropriately for the target device. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

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

Parameters

writer
HtmlMobileTextWriter

The specified text writer.

target
String

The target device.

argument
String

Optional event argument to pass.

Remarks

On script-capable devices, the event is rendered as a call to a script function. On other devices, the event is rendered as a URL.

Applies to

See also