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

Which property of RadComboBox I can use to close RadComboBox popup?

1 Answer 114 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Max
Top achievements
Rank 1
Max asked on 30 May 2013, 08:04 AM
Hi,

I have modified ControlTemplate of RadCombioBox to display RadGridView. I am facing an issue with this. When I click an item from ComboBox to select it the ComboBox is not collapsing. I want to close the ComboBox popup when use selects an item and selected item should be assign to SelectedValue property of ComboBox. FYI, I have place RadGridView under NonEditableTemplate (inside "PART_Popup" popup).

And also I have tried seting IsDropDownOpen property to false on SelectedItem property but is also not working. When I click outside ComboBox the popup closes but a yellow border displayed around ComboBox.

Hereby I have attached image which helps to understand requirement. Please have a look at it. 

Please help to resolve issue.

1 Answer, 1 is accepted

Sort by
0
Max
Top achievements
Rank 1
answered on 31 May 2013, 08:20 AM
You can bind IsOpen property of Popups inside RadComboBox ControlTemplate to IsDropDownOpen property of RadComboBox which has been set to false on SelectedItem change. And that's it when I click any item in ComboBox it will close the popup.
Tags
ComboBox
Asked by
Max
Top achievements
Rank 1
Answers by
Max
Top achievements
Rank 1
Share this question
or