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

Controls are hiding behing radmenu

1 Answer 68 Views
Menu
This is a migrated thread and some comments may be shown as answers.
Jo
Top achievements
Rank 1
Jo asked on 04 Apr 2014, 01:40 AM
I have a radmenu on my page and it is working fine. But the problem is any control that I put on the page goes behind the radmenu, means radmenu comes in front of that control. Please see the attachment:

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 04 Apr 2014, 04:16 AM
Hi Jo,

This is issue is occurs because of the Z-index problem of RadMenu.You need to set a higher z-index value to other control than RadMenu z-index value. Please have a look into the sample code snippet which works fine at my end.

ASPX:
<telerik:RadComboBox ID="RadComboBox1" runat="server" DataSourceID="SqlDataSource1"
    DataTextField="CategoryName" Style="z-index: 7010; position: absolute;">
</telerik:RadComboBox>
<br />
<telerik:RadWindow ID="RadWindow1" runat="server" VisibleOnPageLoad="true" Style="z-index: 7010;
    position: absolute;">
</telerik:RadWindow>
<telerik:RadMenu ID="RadMenu1" runat="server" Style="z-index: 7001; position: absolute;">
    <Items>
        <telerik:RadMenuItem Text="File">
        </telerik:RadMenuItem>
        <telerik:RadMenuItem Text="Edit">
        </telerik:RadMenuItem>
        <telerik:RadMenuItem Text="View">
        </telerik:RadMenuItem>
        <telerik:RadMenuItem Text="Website">
        </telerik:RadMenuItem>
    </Items>
</telerik:RadMenu>

Thanks,
Shinu.
Tags
Menu
Asked by
Jo
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or