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

The RadDropdownButton is always on top

3 Answers 229 Views
Buttons
This is a migrated thread and some comments may be shown as answers.
Richard
Top achievements
Rank 1
Richard asked on 21 Mar 2012, 07:19 PM
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

3 Answers, 1 is accepted

Sort by
0
Tina Stancheva
Telerik team
answered on 26 Mar 2012, 05:54 PM
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 >>
0
Richard
Top achievements
Rank 1
answered on 27 Mar 2012, 04:52 PM
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

 
0
Tina Stancheva
Telerik team
answered on 30 Mar 2012, 11:28 AM
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 >>
Tags
Buttons
Asked by
Richard
Top achievements
Rank 1
Answers by
Tina Stancheva
Telerik team
Richard
Top achievements
Rank 1
Share this question
or