WmlControlAdapter.RenderBeginLink Method

Definition

Renders the opening tag of a link. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET. This API is obsolete. For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

C#
protected void RenderBeginLink(System.Web.UI.MobileControls.Adapters.WmlMobileTextWriter writer, string targetUrl, string softkeyLabel, bool implicitSoftkeyLabel, bool mapToSoftkey);

Parameters

writer
WmlMobileTextWriter

The text writer.

targetUrl
String

The specified target (form or URL).

softkeyLabel
String

Text used for the softkey.

implicitSoftkeyLabel
Boolean

Set to true if the softkey label comes from the adapter itself (the default label, or something else that is adapter specified, such as "Call" for a PhoneCall, rather than a softkey label explicitly specified by the application author.

mapToSoftkey
Boolean

Determines whether a softkey label is used for the link. If true, the softkeyLabel text is used.

Remarks

This method automatically checks for the type of link and renders the appropriate markup language. The specified target can refer to another URL or to a form on the same page.

Applies to

Proizvod Verzije
.NET Framework 1.1, 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