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

[Solved] Can't Change the Z-index inRadMenu

2 Answers 233 Views
Menu
This is a migrated thread and some comments may be shown as answers.
Mohamed
Top achievements
Rank 1
Mohamed asked on 23 Jun 2009, 06:12 AM
Hi
    I am using the RadMenu control in the Master page. By default the z-index value was set to 7000. Is the the any way to change the z-index value. Please give your valuable ideas. With expecting your valuable Reply.

Note: I have tried with by giving  "style: z-index: 0px;". But it not works. If I write any style related to z-index. All styles are override by z-index:7000.



Thanks

Mohamed

2 Answers, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 23 Jun 2009, 07:32 AM

Hi Mohamed,

Z-index only works on elements that have been positioned (eg: position:absolute;). Try setting the style for controls in contentpage and see whether it is working fine.

You can use same approach to set the z-index for RadMenu.

 
<telerik:RadMenu ID="RadMenu1" runat="server" style="z-index:10; position:absolute;">  
    <Items> 
      . . .  
    </Items> 
</telerik:RadMenu> 

Thanks,
Princy.

0
Mohamed
Top achievements
Rank 1
answered on 23 Jun 2009, 08:34 AM
Thanks Admin.

Problem has been fixed.

Tags
Menu
Asked by
Mohamed
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Mohamed
Top achievements
Rank 1
Share this question
or