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

RadMenu overlap with another RadMenu and RadButton

4 Answers 150 Views
Menu
This is a migrated thread and some comments may be shown as answers.
Md.Abdullah
Top achievements
Rank 1
Md.Abdullah asked on 11 Oct 2011, 01:54 PM

I am using RadMenu & RadButton control in an application and I have customized the Radmenu with
www.stylebuilder.telerik.com
the problem is when radmenu child items are expand then another radmenu and radbutton is overlapped.

Please see the screenshot.

4 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 12 Oct 2011, 06:27 AM
Hello Abdullah,

You can solve this problem by setting z-index property to the second menu and the button which should be less than the first RadMenu.
Here is a sample code.
aspx:
<head runat="server">
  <style type="text/css">
   .btnCSS
   {
       z-index:5000 !important;
   }
   .menu2CSS
   {
     z-index:6000 !important; 
   }
    </style>
</head>
<body>
  <form id="form1" runat="server">
   <div>
     <asp:ScriptManager ID="ScriptManager1" runat="server">
     </asp:ScriptManager>
     <telerik:RadMenu ID="RadRM_TopNav" runat="server" Skin="Hay" >
        <Items>
          <telerik:RadMenuItem Width="50px" Text="Root1" >
            <GroupSettings Width="500px" />
              <Items>
                 <telerik:RadMenuItem Text="Item1">
                 </telerik:RadMenuItem>
                 <telerik:RadMenuItem Text="Item2">
                 </telerik:RadMenuItem>
                 <telerik:RadMenuItem Text="Item3">
                 </telerik:RadMenuItem>
                 <telerik:RadMenuItem Text="Item4">
                 </telerik:RadMenuItem>
                 <telerik:RadMenuItem Text="Item5">
                 </telerik:RadMenuItem>
             </Items>
                </telerik:RadMenuItem>
                <telerik:RadMenuItem Text="Root2">
                </telerik:RadMenuItem>
            </Items>
       </telerik:RadMenu>
        <br />
        <br />
      <telerik:RadMenu ID="Menu1" runat="server"  CssClass="menu2" >
            <Items>
                <telerik:RadMenuItem Text="test1">
                </telerik:RadMenuItem>
                <telerik:RadMenuItem Text="test2">
                </telerik:RadMenuItem>
                <telerik:RadMenuItem Text="test3">
                </telerik:RadMenuItem>
            </Items>
        </telerik:RadMenu>
        <br />
     <telerik:RadButton ID="RdBtn" runat="server" Text="RadButton" CssClass="test">
     </telerik:RadButton>

Thanks,
Shinu.
0
Md.Abdullah
Top achievements
Rank 1
answered on 12 Oct 2011, 07:42 AM
Thanks for replay me ... :)

It working fine for pages menu but Master page menu is still overlapping with other pages menu...... :(
0
Accepted
Shinu
Top achievements
Rank 2
answered on 20 Oct 2011, 06:09 AM
Hello Abdullah,

I have tried to reproduce the issue at my end without success. Please make sure that the Z-index of the menu is greater than the ContentPlaceholder.

Thanks,
Shinu.
0
Md.Abdullah
Top achievements
Rank 1
answered on 14 Nov 2011, 01:17 PM
Thanks Shinu, it's working .....
Tags
Menu
Asked by
Md.Abdullah
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Md.Abdullah
Top achievements
Rank 1
Share this question
or