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

DropDownClosed event doesnt fire

2 Answers 29 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Erik
Top achievements
Rank 1
Erik asked on 09 Oct 2012, 06:39 AM
We upgraded from 2011 Q3 to the latest 2012 Q2(2012.912.1040), and the DropDownClosed event for the RadComboBox doesnt work anymore.

2 Answers, 1 is accepted

Sort by
0
Boyan
Telerik team
answered on 11 Oct 2012, 04:29 PM
Hi Erik,

I tested the issue with a simple RadComboBox, but the fire was triggered as expected. Could you please provide more info on your scenario. It will be best if you could send us a code snippet or a sample project where the problem can be seen.

All the best,
Boyan
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
Erik
Top achievements
Rank 1
answered on 12 Oct 2012, 06:58 AM
I found the soloution to my problem. We have tweeked the styles a bit, and the popup part in the NonEditableCombobox template was defined as a <telerik:Popup>. In the 2012 Q2 version you have defined it as <Popup>, and that caused the event not to fire.

My old definition was like this:

<telerik:Popup CloseOnOutsideClick="True" IsOpen="{Binding IsDropDownOpen, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}" Owner="{Binding RelativeSource={RelativeSource TemplatedParent}}">

and the new like this:

<Popup x:Name="PART_Popup">

Tags
ComboBox
Asked by
Erik
Top achievements
Rank 1
Answers by
Boyan
Telerik team
Erik
Top achievements
Rank 1
Share this question
or