How to: Add and Configure a Link Control
Use a Link control to create hyperlinks to forms and pages in your application.
To add a Link control to an ASP.NET mobile Web Forms page
-
From the Mobile Web Forms tab of the Toolbox, drag a Link control onto a Form or Panel control, or inside a control's template on a mobile Web page. You can also drag it onto a mobile user control page.
-
Set the link's text using the Text property.
-
Set the NavigateUrl property to the destination URL in one of the following ways:
-
Type the URL into the NavigateUrl property.
-or-
-
In the Properties window, click the arrow next to the NavigateUrl property. In the drop-down list, click Select URL, and then use the Select URL dialog box to browser to the location.
-or-
-
In the Properties window, click the arrow next to the NavigateUrl property. In the drop-down list, click one of the forms already on the current mobile Web page.
-
-
For devices that support softkeys, specify a short string for the SoftkeyLabel property.