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

RadComboBox in RadWindow

2 Answers 140 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Denis
Top achievements
Rank 1
Denis asked on 29 Jul 2008, 12:44 PM
I'm trying to get a modal dialog using RadWindow (Silverlight Beta 2 latest update, Telerik controls Beta latest version, downloaded July 28th).

When using a combobox in the contents, I get the following behavior:
- First time,it works fine
- Second time and any following attempts, the combobox list opens behind the window itself

What is weird is that the objects are re-instantiated each time I try.

This happens wether the combobox is defined directly in the contents of a control deriving from RadWindow or if I use a RadWindow instance and assigns the content with a UserControl containing a ComboBox.

This also happens if I use the Show method instead of the ShowModal.

Addendum:
Same problem with a RadDatePicker, the selection panel opens behind the window the second time (and subsequent times) I try to show an instance of my RadWindow.

2 Answers, 1 is accepted

Sort by
0
Accepted
Valeri Hristov
Telerik team
answered on 30 Jul 2008, 01:58 PM
Hello Denis,

This is a known problem in the controls using Popup (RadMenu, RadComboBox, RadDatePicker) and RadWindow. In order to be able to stack windows one over another, RadWindow sets Z-Index on its own Popup. Since the popups of the other controls have no Z-Index, they appear below RadWindow. The problem doesn't appear the first time, because the first open RadWindow has no Z-Index.

We are currently testing a workaround, which most probably will be included in the next release of RadControls for Silverlight. However, it has some limitations - the standard Tooltip control is displayed below all RadControls which use Popup :)

This is a common problem for controls which display popups - our ASP.NET AJAX controls have it too, but in ASP.NET AJAX we have much more control over the AJAX framework and we can avoid it without much interference to other controls. I hope that the official release of Silverlight 2 will provide enough possibilities for customizing the standard controls, hence more ways to workaround such problems.

The bug report has been logged, you will receive an email, containing more details about our Early Adoption Program :)

Kind regards,
Valeri Hristov (Silverlight Team)
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Denis
Top achievements
Rank 1
answered on 30 Jul 2008, 02:02 PM
Thank you for your answer.

I had gathered there was something going on with the z-index :)

Thank you for your great controls by the way !
Tags
ComboBox
Asked by
Denis
Top achievements
Rank 1
Answers by
Valeri Hristov
Telerik team
Denis
Top achievements
Rank 1
Share this question
or