ASPxClientTreeViewNode.SetNavigateUrl(value) Method
Specifies a URL which defines the node’s navigate URL.
Declaration
SetNavigateUrl(
value: string
): void
Parameters
Name | Type | Description |
---|---|---|
value | string | A string value which specifies a URL to where the client web browser will navigate when the node is clicked. |
Remarks
Use the SetNavigateUrl method to define the node navigate URL dynamically, on the client side.
Note
If a node navigate url is not initially specified on the server side (via the TreeViewNode.NavigateUrl property), the corresponding DOM element is not created. In this case, the SetNavigateUrl property is not in effect.
Example
The code below finds the node with the specified text and sets its navigate URL.
See Also