Completed
Last Updated: 31 May 2021 14:40 by ADMIN
swegele
Created on: 31 Dec 2015 16:56
Category: TreeView
Type: Feature Request
0
Please add OnClientNodeSelected event to RadTreeView
The RadTreeView adds a CSS class to selected nodes "rtSelected".  Is it possible to fire an event then, since you know when you are adding that class?

If I were to do a jQuery each on the <li> elements and subscribe to changes in the attribute "Class" I could probably mimic similar behavior.  

I have noticed this feature has been desired for several years.  
The work-arounds suggested by your staff are basically to capture onKeyPressing event and check for a newly selected node after a setTimeout.  This works but is more like a hammer to kill a fly.

Thank you
Sean
1 comment
ADMIN
Peter Milchev
Posted on: 31 May 2021 14:40

Hello Sean,

The OnClientNodeClicking and OnClientNodeClicked events are fired for node selection and the OnClientNodeClicking event can be cancelled:

Regards,
Peter Milchev
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.