RadTreeView in RadComboBox - Don't Close Drop Down on Selection

2 posts, 0 answers
  1. Brian Mains
    Brian Mains avatar
    485 posts
    Member since:
    Oct 2008

    Posted 01 Mar 2011 Link to this post


    I'm following this example: http://demos.telerik.com/aspnet-ajax/treeview/examples/functionality/treeviewcombobox/defaultcs.aspx

    This works great.  But what I want is for the RadComboBox drop down not to collapse when clicking on the root element.  My tree is two levels deep always, and for the child only do I want the selection to happen.  I have this working great, but I need to cancel the drop down collapse, is there something passed in through the event arg for this?

  2. Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 02 Mar 2011 Link to this post


    I believe, you can cancel the "OnClientDropDownClosing"  event based on the condition. Check for the cleiked node and cancel the event based on that. You will get more idea on cancelling the event by going through follwoing link.
    Prevent Combobox dropdown list from closing when selecting an item

Back to Top