Partager via


How to: Add and Configure a Link Control 

Use a Link control to create hyperlinks to forms and pages in your application.

  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

Reference

Link

Concepts

Introduction to the Link Control
Overriding Properties
Introduction to the Form Control
Introduction to the Panel Control

Other Resources

Using Device Filters