RadDockZone with z-index = -1

3 posts, 0 answers
  1. License Developer
    License Developer avatar
    2 posts
    Member since:
    Dec 2007

    Posted 22 Jan 2008 Link to this post

    I have a static RadDockZone, and I add RadDocks dynamically. Everything works fine. But for my page layout I needed to add some styles to the RadDockZone: position it absolutely and add z-index: -1 (so that some other controls can be shown above the zone). While positioning doesn't seem to affect RadDockZone, setting z-index: -1 makes it impossible to close any RadDock inside (I click the x and nothing happens, in both IE and FF).

    My markup:

    <telerik:RadDockZone runat="server" ID="RadDockZone1" style="position: absolute; top: 50px; left: 5px; z-index: -1;" Width="980px" Height="800px" Orientation="Horizontal">

    </telerik:RadDockZone>

    Is it a bug or should I add positioning styles to the RadDockZone in some other way?

  2. License Developer
    License Developer avatar
    2 posts
    Member since:
    Dec 2007

    Posted 22 Jan 2008 Link to this post

    Some more investigation: RadDockZone works correctly with z-index >= 0. But I need z-index = -1 to be able to float non-absolutely-positioned controls on top of it.
    Example: if I set RadDockZone z-index to 5, and MyOtherControl z-index to 10, my control is supposed to go on top of RadDockZone. But it only works if MyOtherControl is absolutely-positioned. In my case, it isn't and it can't be (I use other style property, float, which doesn't work with absolute positioning). If RadDockZone z-index is set to -1, then my floating control goes well on top of the RadDockZone. But there comes the issue with closing RadDocks...
  3. Petya
    Admin
    Petya avatar
    869 posts

    Posted 29 Jan 2008 Link to this post

    Hi License Developer,

    Please, accept our sincere apologies for the delayed answer. We appreciate the fact that you wrote again providing some more details, however we would like to request further information to be able to solve the problem - would it be possible for you to send us a simple running page where we can observe the problem with MyOtherControl not going above the zone so we can work on it and offer our suggestions. To be able to attach files to your thread you need to open a support ticket as demonstrated in the attached instructions.

    Greetings,
    Petya
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
Back to Top