-
Max
27
posts
Member since:
May 2013
Posted 30 May 2013
Link to this post
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.
-
-
Max
27
posts
Member since:
May 2013
Posted 31 May 2013
Link to this post
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.
-