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

RadComboBox in a popup

5 Answers 111 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
David
Top achievements
Rank 1
David asked on 17 Nov 2010, 03:36 PM
I have a RadComboBox in a popup and when I click the drop down button, it closes the popup. This does not happen with the standard ComboBox. Is there a way to prevent this?

5 Answers, 1 is accepted

Sort by
0
Konstantina
Telerik team
answered on 18 Nov 2010, 10:32 AM
Hello David,

Thank you for contacting us.

Could you please elaborate more on this issue - which version of the controls you are using, is the popup a RadWindow? If you could prepare a sample project in which we can observe the issue it would be very helpful.

Looking forward to your reply.

Best wishes,
Konstantina
the Telerik team
Browse the videos here>> to help you get started with RadControls for WPF
0
David
Top achievements
Rank 1
answered on 18 Nov 2010, 07:17 PM
I found a way around it. In the PreviewMouseDown event I set e.Handled=True and IsDropDownOpen=True. This keeps the popup open, although I have to click twice for some reason.
0
Konstantina
Telerik team
answered on 23 Nov 2010, 10:52 AM
Hello David,

We are glad that you have resolved the issue yourself.

However, if you are able to reproduce the issue in a sample application, it would be very helpful if you could send it to us. In that way we will be able to track down the source of the problem and fix it.

Please let us know if you need further help.

Best wishes,
Konstantina
the Telerik team
Browse the videos here>> to help you get started with RadControls for WPF
0
David
Top achievements
Rank 1
answered on 23 Nov 2010, 06:24 PM
I wonder if it could be that you are just not marking the click event as e.Handled. I use your RadComboBox in an update control. The problem in this case is when the drop down is open and the user presses escape key, the drop down closes as it should. But the event is not marked as e.Handled so my control receives the event which invokes my cancel update command. I had to add code to ignore the command if the request happened when the drop down is open. The same thing happens with the enter key.  This doesn't happen with the standard ComboBox.
0
Konstantina
Telerik team
answered on 25 Nov 2010, 01:05 PM
Hi David,

We will continue investigation the issue and if we find a bug we will fix it. For now, use your workaround and if something is changed we will notify you.

Best wishes,
Konstantina
the Telerik team
Browse the videos here>> to help you get started with RadControls for WPF
Tags
ComboBox
Asked by
David
Top achievements
Rank 1
Answers by
Konstantina
Telerik team
David
Top achievements
Rank 1
Share this question
or