HyperLink::NavigateUrl Property

 

Gets or sets the URL to link to when the HyperLink control is clicked.

Namespace:   System.Web.UI.WebControls
Assembly:  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
Show: