RadComboBox in RadWindow

3 posts, 1 answers
  1. Denis
    Denis avatar
    12 posts
    Member since:
    May 2008

    Posted 29 Jul 2008 Link to this post

    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. Answer
    Valeri Hristov
    Admin
    Valeri Hristov avatar
    2252 posts

    Posted 30 Jul 2008 Link to this post

    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.
  3. Denis
    Denis avatar
    12 posts
    Member since:
    May 2008

    Posted 30 Jul 2008 Link to this post

    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 !
Back to Top