Partager via


NAVIGATEURL Attribute | NavigateUrl Property

Sets or retrieves the URL of the page to navigate to when the user clicks a node.

Syntax

Visual Basic  Public  Property NavigateUrl As string
C# public  string NavigateUrl { get; set; }
Managed C++ public:  __property string get_NavigateUrl();
public:  __property void set_NavigateUrl(string);
JScript public   function get NavigateUrl() : string;
public   function set NavigateUrl(string);

Possible Values

sNavigateURL string that specifies or receives the URL of the page to navigate to when the user clicks a node.

The property is read/write. The property has no default value.

Remarks

This property makes the Text property into a link to the specified URL.

An element that is assigned this property neither posts back to the server nor fires an event.

Applies To

TREENODE, TREENODETYPE

See Also

Internet Explorer WebControls, About the TreeView WebControl