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

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

1 Answer 156 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Brian Mains
Top achievements
Rank 1
Brian Mains asked on 01 Mar 2011, 10:09 PM
Hello,

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?

Thanks.

1 Answer, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 02 Mar 2011, 07:38 AM
Hello,


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


Thanks,
Princy.
Tags
ComboBox
Asked by
Brian Mains
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Share this question
or