ASP.NET HyperLinkControl
Web Server Control
Definition and Usage
The HyperLink control is used to create a hyperlink.
Properties
| Property | Description | .NET |
|---|---|---|
| ImageUrl | The URL of the image to display for this link | 1.0 |
| NavigateUrl | The target URL of the link | 1.0 |
| runat | Specifies that the control is a server control. Must be set to "server". | 1.0 |
| Target | The target frame of the URL. | 1.0 |
| Text | The text displayed for the link. | 1.0 |
Web Control Standard Attributes
AccessKey, Attributes, BackColor, BorderColor,
BorderStyle, BorderWidth, CssClass, Enabled, Font, EnableTheming,
ForeColor, Height, IsEnabled, SkinID, Style, TabIndex, ToolTip, Width
For a complete description, please visitWeb Control Standard Attributes。
Control Standard Attributes
AppRelativeTemplateSourceDirectory, BindingContainer,
ClientID, Controls, EnableTheming, EnableViewState, ID, NamingContainer,
Page, Parent, Site, TemplateControl, TemplateSourceDirectory, UniqueID,
Visible
For a complete description, please visitControl Standard Attributes。
Examples
Hyperlink
In this example, we declare a HyperLink control in a .aspx file.
Web Server Control Other Extensions