Share via


ConsoleNode.NavigateUrl property

Gets or sets the href value of this ConsoleNode object.

Namespace:  Microsoft.SharePoint.Publishing.WebControls
Assembly:  Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)

Syntax

'Declaration
Public Overridable Property NavigateUrl As String
    Get
    Set
'Usage
Dim instance As ConsoleNode
Dim value As String

value = instance.NavigateUrl

instance.NavigateUrl = value
public virtual string NavigateUrl { get; set; }

Property value

Type: System.String
Either a URL for navigation or ECMAScript to be executed when this ConsoleNode is clicked.

Remarks

When a user clicks a ConsoleNode on the page, this property determines how the browser responds. If a conventional URL is specified here, the user is directed to that page. If ECMAScript is specified, the browser executes the script. Users can include script to post back to the same action to save the current page.

The value of this property overrides that of a referenced ConsoleAction object when the UseActionNavigateUrl property is set to false.

See also

Reference

ConsoleNode class

ConsoleNode members

Microsoft.SharePoint.Publishing.WebControls namespace