Hi
I use the DataNavigateUrlField property to transfer users to Another page when they click a node in the tree, is there Another way to do that using JavaScript instead, for example I use this exsisting JavaScript..
<
script
type
=
"text/javascript"
>
function onNodeClicked(sender, args) {
var node = args.get_node();
node.set_expanded(!node.get_expanded());
}
function nodeClicking(sender, args) {
var nodeAtt = args.get_node().get_attributes().getAttribute("toClick");
if (nodeAtt == "NotClickable") {
args.set_cancel(true);
var node = args.get_node();
node.set_expanded(!node.get_expanded());
}
}
</
script
>
Can this be modified to transfer the user to the page that is defined using the DataNavigateUrlField property?