The RadDropdownButton is always on top

4 posts, 0 answers
  1. Richard
    Richard avatar
    2 posts
    Member since:
    Mar 2012

    Posted 21 Mar 2012 Link to this post

    Dear sir,

    I have created a RadDropdownButton.
    While the control is open, if I click on a control that I put within the dropdown content area then it launches another control dialog.
    For example, I click on a button which launches a search dialog. But, for some reasons, this search dialog is overlapped/hidden by the RadDropdownButton control.

    I have to keep the RadDropdownButton open when the search dialog is open and it seems to me the RadDropdownButton has a high Z-Index and always on top of the search dialog.

    How can I resolve this issue?


    Richard
  2. Tina Stancheva
    Admin
    Tina Stancheva avatar
    3298 posts

    Posted 26 Mar 2012 Link to this post

    Hi Richard,

    The DropDownContent of the RadDropDownButton is displayed in a Popup control. Unfortunately the Popup control is displayed on top of most WPF controls and dialogs including MessageBox dialogs or RadWindow alerts. However on top of the Popup you can open another Popup or a Window control which Topmost property is set to True.

    I attached a sample project demonstrating the second approach so that you can give it a try and decide if you can use it in your application. Let me know if we can further assist you.

    Greetings,
    Tina Stancheva
    the Telerik team
    Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
  3. UI for WPF is Visual Studio 2017 Ready
  4. Richard
    Richard avatar
    2 posts
    Member since:
    Mar 2012

    Posted 27 Mar 2012 Link to this post

    Tina,

    Thanks for the reply.I actually tried this before I wrote this question on forum and I originally hoped that there's a property provided by Telerik that I can change the behavior back to old version.

    As you might know, this is a change behavior from an earlier Telerik version which I don't have any problem to open forms on top of the DropDownContent. But,  I suppose to make the 'TopMost' property to true is my only solution now.


    Thanks,

    Richard

     
  5. Tina Stancheva
    Admin
    Tina Stancheva avatar
    3298 posts

    Posted 30 Mar 2012 Link to this post

    Hi Richard,

    In all releases of the RadDropDownButton for WPF, the control has always used the MS Popup control in its template and this is why we aren't aware of a version where the DropDownContent will display behind another window.
     
    However, as you said that it worked in a previous version, if you can send us a sample project where it works we'll gladly further investigate the case.

    All the best,
    Tina Stancheva
    the Telerik team
    Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
Back to Top