Double-clicking on TreeView Node to Expand Branch

3 posts, 0 answers
  1. Robert
    Robert avatar
    253 posts
    Member since:
    Aug 2007

    Posted 05 Sep 2012 Link to this post

    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?


    Robert W.
  2. Boyan Dimitrov
    Boyan Dimitrov avatar
    2062 posts

    Posted 07 Sep 2012 Link to this post

    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.
  3. Robert
    Robert avatar
    253 posts
    Member since:
    Aug 2007

    Posted 07 Sep 2012 Link to this post

    Okay, thanks Boyan.  Not a "biggie" but I thought I'd check to be sure.

Back to Top