Export (0) Print
Expand All

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:
© 2014 Microsoft