RadComboBox in a popup

6 posts, 0 answers
  1. David
    David avatar
    46 posts
    Member since:
    Nov 2008

    Posted 17 Nov 2010 Link to this post

    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?
  2. Konstantina
    Admin
    Konstantina avatar
    2332 posts

    Posted 18 Nov 2010 Link to this post

    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
  3. UI for WPF is Visual Studio 2017 Ready
  4. David
    David avatar
    46 posts
    Member since:
    Nov 2008

    Posted 18 Nov 2010 Link to this post

    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.
  5. Konstantina
    Admin
    Konstantina avatar
    2332 posts

    Posted 23 Nov 2010 Link to this post

    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
  6. David
    David avatar
    46 posts
    Member since:
    Nov 2008

    Posted 23 Nov 2010 Link to this post

    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.
  7. Konstantina
    Admin
    Konstantina avatar
    2332 posts

    Posted 25 Nov 2010 Link to this post

    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
Back to Top
UI for WPF is Visual Studio 2017 Ready