Posted
on Apr 27, 2012
(permalink)
Hi,
I have a RadTreeView, binded from database of 5 Levels.
Handling the Node click from client side, now I'm facing an issue, if the Node level is 2 I have to block the node click no post back should happend when user clicks on that node.
Regards
Krishna
Reply
Posted
on Apr 27, 2012
(permalink)
Hi Krishna,
Try the following code to block the node click from client side.
JS:
Thanks,
Shinu.
Reply
Posted
on Apr 27, 2012
(permalink)
Hi shinu
Code snipplet is not working, getting error, object doesn't support
Thanks
Krishna
Reply
Answer
Shinu
MVP
Posted
on Apr 27, 2012
(permalink)
Hi Krishna,
Here is the code that worked for me as expected.
ASPX:
JS:
Please provide your full code if it doesn't helps.
Thanks,
Shinu.
Reply
Answer
Avinash Tauro
Posted
on May 18, 2012
(permalink)
This solution works partially. So set_cancel(true) in node clicking correctly prevents postback but also prevents the node from being selected.
Adding args.get_node().set_selected(true); in the function selects the node.
Reply