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, string target, string argument);

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

Product Versions
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

See also