This is a migrated thread and some comments may be shown as answers.

Double-clicking on TreeView Node to Expand Branch

2 Answers 215 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Robert
Top achievements
Rank 1
Robert asked on 05 Sep 2012, 08:00 PM
I've done much reading about double-clicking on a RadTreeView node.  Apparently the default behaviour is for this to cause it to expand, showing its child nodes.

On my implementation of the RadTreeView it does not do this.  Might this be because I have some server-side code that processes the single-click, which serves to Select the node?  If so, please know that I absolutely need to maintain that server-side selection code.

Thus, my ultimate question is this: Is is possible to have a single-click of a RadNode run server-side code BUT have a double-click just expand the node?

Curious,

Robert W.

2 Answers, 1 is accepted

Sort by
0
Boyan Dimitrov
Telerik team
answered on 07 Sep 2012, 02:10 PM
Hello Robert,

Unfortunately this behavior can not be achieved because single click event is always fired and this make it impossible for the DoubleClick to be handled.

Here is an article in our help resources, which explains in more details( see Point 3).

Hope this will be helpful.

Kind regards,
Boyan Dimitrov
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
Robert
Top achievements
Rank 1
answered on 07 Sep 2012, 09:56 PM
Okay, thanks Boyan.  Not a "biggie" but I thought I'd check to be sure.

Robert
Tags
TreeView
Asked by
Robert
Top achievements
Rank 1
Answers by
Boyan Dimitrov
Telerik team
Robert
Top achievements
Rank 1
Share this question
or