SPLinkButton.NavigateUrl property
Gets or sets the URL to link to when the SPLinkButton control is clicked.
Namespace: Microsoft.SharePoint.WebControls
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Property NavigateUrl As String
Get
Set
'Usage
Dim instance As SPLinkButton
Dim value As String
value = instance.NavigateUrl
instance.NavigateUrl = value
public string NavigateUrl { get; set; }
Property value
Type: System.String
A string that contains the URL
Remarks
Setting this property introduces an additional href attribute on the link that is rendered. This extra href attribute is rendered before the base class href that contains an ECMAScript event postback reference. Because the extra href attribute added by this property comes first, it appears in the status when the link has the focus, and the browser will navigate there when the user clicks the link.