Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
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.

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

  1. 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.

  2. Set the link's text using the Text property.

  3. Set the NavigateUrl property to the destination URL in one of the following ways:

    1. Type the URL into the NavigateUrl property.

      -or-

    2. 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-

    3. 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.

  4. For devices that support softkeys, specify a short string for the SoftkeyLabel property.

See Also

Community Additions

ADD
Show:
© 2015 Microsoft