I want to use jQuery to assign an event handler for MouseUp on nodes in the treeview, like this:
[I gave the tree a css class of "issuesTree" and the nodes a css class of "issueTitle"]
In the handleMouseup function, I want to be able to access the attributes of the node, similar to this example, from:
|function onNodeClicked(sender, args)
| var node = args.get_node();
| //you can also set attributes, like:
The above example includes setting the RadTreeView property, OnClientNodeClicked, in which the Telerik RadTreeNode is in the args object.
Within my mouseup handler, is there a way to access this node, so that I can access its attributes?
Also note: My page already has jQuery 1.3.2 referenced directly, and I read that including the RadTreeView will also include jQuery, but with $telerik.$ as the default alias. Trying to use $telerik.$(“selector”).mouseup(…) didn’t seem to help… $telerik.$ is shown as undefined in my debugger.
I got the idea to try the $telerik.$ alias from reading, "Using jQuery," here:
I’m using Visual Studio 2008.
File/product version: 2008.2.1001.20
Thanks in advance for any help or tips to accomplish what I need, by whatever method you might suggest.