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

How do I programmatically expand/collapse the RadComboBox?

4 Answers 590 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Allen
Top achievements
Rank 1
Allen asked on 30 Jun 2011, 04:23 PM
The subject says it all.

4 Answers, 1 is accepted

Sort by
0
Valeri Hristov
Telerik team
answered on 30 Jun 2011, 04:25 PM
Hello Allen,

You need to set the IsDropDownOpen property.

All the best,
Valeri Hristov
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Balaji
Top achievements
Rank 1
answered on 25 Jul 2011, 06:03 PM
I have a radGrid control inside a radCombobox control. When I try to sort the items in the radGrid by clicking on the grid column header, the RadGrid NeedDataSource event gets called and the radCombobox collapses. I want the radCombobox dropdown to stay open so that the user can pick the rows from the radGrid after sorting. Can someone assist me in what needs to be done to keep the
radComboxbox open after sorting the datagrid?

Thanks in advance.
0
Jakub
Top achievements
Rank 1
answered on 13 Feb 2014, 12:42 PM
It is possible do it using method showDropDown, such like this:

var combo = $find("<%= rcbDistricts.ClientID %>");
combo.showDropDown();
0
Anthony
Top achievements
Rank 1
answered on 08 Oct 2014, 04:14 PM
Add this to your RadComboBox:

OnClientKeyPressing="(function(sender, e){ if (!sender.get_dropDownVisible()) sender.showDropDown(); })"
Tags
ComboBox
Asked by
Allen
Top achievements
Rank 1
Answers by
Valeri Hristov
Telerik team
Balaji
Top achievements
Rank 1
Jakub
Top achievements
Rank 1
Anthony
Top achievements
Rank 1
Share this question
or