RenderBeginLink Method (WmlControlAdapter)
Renders the opening tag of a link.
protected void RenderBeginLink(
WmlMobileTextWriter writer,
string targetUrl
string softkeyLabel
bool implicitSoftkeyLabel
bool mapToSoftKey
)
Parameters
- writer
The text writer. - target
The specified target (form or URL). - softkeyLabel
Text used for the softkey. - implicitSoftkeyLabel
Set to true if the softkey label comes from the adapter itself (the default label, or something else that is adapter specified, like "Call" for a PhoneCall control), rather than a softkey label explicitly specified by the application author. - mapToSoftkey
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.
See Also
Applies to: WmlControlAdapter Class