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

Z-Index problem when using RadDocking

1 Answer 85 Views
Docking
This is a migrated thread and some comments may be shown as answers.
MW
Top achievements
Rank 1
MW asked on 10 Aug 2009, 02:08 PM
Hi

I am currently trying to add docking panels to my Silverlight 3 application.  Previously the page was just split up using the standard 'StackPanel' and 'Splitter' toolkit controls (not Telerik).

After swapping the various bits for the equivalent Telerik dock panels, I now have an issue with the page z-index.  My psuedo-XAML for a 3-section page layout looks something like:

<Grid>
    ....
    <HeaderRow Grid.Row="1"/>
    <ToolbarRow Grid.Row="2"/>
    <PageContent Grid.Row="3"/>
</Grid>

Then some user controls follow it, such as 'popup dialogs' where I can control the visibility to hide and show etc as required.

Once I swap out the 'PageContent' bit with the dockable code, anything following no longer conforms to the z-index rule, ie., they should appear 'above' anything else the further down the XAML document they are.  What seems to have happened is that the RadDocking element has become king regardless of anything else on the screen, so now my 'popup dialogs' appear behind it, when is should be infront.

Any ideas?

Thanks
Mark

1 Answer, 1 is accepted

Sort by
0
Accepted
Miroslav Nedyalkov
Telerik team
answered on 12 Aug 2009, 11:56 AM
Hi Mark,

The Docking control has Canvas.ZIndex set to 1000 in the default style. This is the reason why it appears on the top of everything. You can change this property to avoid this problem or just to set bigger Canvas.ZIndex to your popups. 

Hope this helps.

Regards,
Miroslav Nedyalkov
the Telerik team

Instantly find answers to your questions on the newTelerik Support Portal.
Check out the tipsfor optimizing your support resource searches.
Tags
Docking
Asked by
MW
Top achievements
Rank 1
Answers by
Miroslav Nedyalkov
Telerik team
Share this question
or