System.Web.UI.Adapters.PageAdapter.RenderBeginHyperlink Method

Renders an opening hyperlink tag that includes the target URL and an access key to the response stream.

Syntax

public virtual void RenderBeginHyperlink (System.Web.UI.HtmlTextWriter w, string targetUrl, bool encodeUrl, string softKeyLabel, string accessKey)

Parameters

w
Documentation for this section has not yet been entered.
softKeyLabel
Documentation for this section has not yet been entered.
targetUrl
The string value holding the target URL of the link.
encodeUrl
true to use System.Web.HttpUtility.HtmlAttributeEncode(string) to encode the stream output; otherwise, false.
accessKey
The string value to assign to the accessKey attribute of the link to create.

Remarks

The PageAdapter.RenderBeginHyperlink(System.Web.UI.HtmlTextWriter, string, bool, string, string) method writes an opening hyperlink tag. When writer is an System.Web.UI.HtmlTextWriter object, this tag has the following format:

<a href="targetUrl" accessKey="accessKey">

Requirements

Namespace: System.Web.UI.Adapters
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0