This documentation is archived and is not being maintained.
HyperLink::NavigateUrl Property
.NET Framework (current version)
Gets or sets the URL to link to when the HyperLink control is clicked.
Namespace:
System.Web.UI.WebControlsAssembly:
System.Web (in System.Web.dll)
public:
[BindableAttribute(true)]
property String^ NavigateUrl {
String^ get();
void set(String^ value);
}
Property Value
Type:
System::String^The URL to link to when the HyperLink control is clicked. The default value is an empty string ('').
Use the NavigateUrl property to specify the URL to navigate to when the HyperLink control is clicked.
The following example demonstrates how to set the NavigateUrl property to specify the URL to link to when the HyperLink control is clicked.
No code example is currently available or this language may not be supported.
.NET Framework
Available since 1.1
Return to top