ASP.NET HyperLink NavigateUrlProperties


HyperLink 控件HyperLink Control

Definition and Usage

The NavigateURL property is used to set or return the URL of the HyperLink control.

Syntax

<asp:HyperLink NavigateUrl="URL" runat="server" />
 
Property Description
URL A string that specifies the URL of the HyperLink control.


Example

The following example sets the URL of the HyperLink control:

<form runat="server">
<asp:HyperLink id="link1" runat="server" Text="EXAMPLE"
NavigateUrl="http://www.example.com" />
</form>

Show example »

HyperLink 控件HyperLink Control Other Extensions