Edit

Share via


XhtmlPageAdapter.RenderUrlPostBackEvent Method

Definition

Creates a link on the current page to enable postback on devices that do not support postback events. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

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

Parameters

writer
XhtmlMobileTextWriter

An XhtmlMobileTextWriter object that writes the link.

target
String

The target URL for postback.

argument
String

The name of the event for which the link is substituting.

Remarks

Some devices are able to execute a postback event on a link or button only. The RenderUrlPostBackEvent method writes a link with a URL that contains all of the information that is required to process the form and to update and display the page.

Applies to

See also