|Important||This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.|
Introduction to the Link Control
Thecontrol displays text that serves as a hyperlink. The hyperlink can lead to another form on the same ASP.NET mobile Web page or to any other URL. For devices that support softkeys (a programmable button available on many cell phones), you can also specify text for softkey captions. If you want to create an image that is also a link, use an control.
A Link control must be placed within aor control, or within a control's template. Enter the link's text into the property. For output devices that support softkeys, specify the softkey's caption using the property. Use the property to specify the link's destination URL.
Customize the appearance of the Link control with the, , , and properties. If you want to prevent a line break from occurring after the link, set the property to false.
Using data binding, the Link control can also obtain its property values dynamically from a data source.