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

RadDockZone with z-index = -1

2 Answers 73 Views
Dock
This is a migrated thread and some comments may be shown as answers.
License Developer
Top achievements
Rank 1
License Developer asked on 22 Jan 2008, 05:46 PM

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 Answers, 1 is accepted

Sort by
0
License Developer
Top achievements
Rank 1
answered on 22 Jan 2008, 06:22 PM
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...
0
Petya
Telerik team
answered on 29 Jan 2008, 09:47 AM
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
Tags
Dock
Asked by
License Developer
Top achievements
Rank 1
Answers by
License Developer
Top achievements
Rank 1
Petya
Telerik team
Share this question
or