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

RadMenu and RadWindow problem

2 Answers 116 Views
Menu
This is a migrated thread and some comments may be shown as answers.
Carlos Valdez
Top achievements
Rank 1
Carlos Valdez asked on 19 Oct 2010, 08:37 PM
Hello, 

    I Have a problem when i'm open a RadWindow with the next code in the OnClickClient event in a asp:button :

       return blockConfirm('Seguro que quieres eliminar este registro?', event, 330, 100,'','Aviso del sistema');

    The problem is, the RadMenu is on the Confirm box, like the modal background z-index of RadMenu is higher than the bottom of the RadConfirm Background, I manually edit the RadMenu z-index but it stil happening.

 

<telerik:RadMenu ID="RadMenu1" Runat="server" Flow="Vertical" Height="115px" 
Skin="Web20" style="z-index: 0" >
</telerik:RadMenu>

    Did you know what's happening? or how can i fix that?

    Thank's!

2 Answers, 1 is accepted

Sort by
0
Accepted
Cori
Top achievements
Rank 2
answered on 20 Oct 2010, 02:22 PM
Hello Carlos,

The problem is the modal background does not have a high enough z-index to overlay the RadMenu. Try applying this css style:

.TelerikModalOverlay
{
    z-index: 9005 !important;
}
.RadWindow
{
    z-index: 9015 !important;
}

That sets the modal overlay to a z-index above the RadMenu and the RadWindow to a z-index above the modal overlay. 

I hope that helps.
0
Carlos Valdez
Top achievements
Rank 1
answered on 20 Oct 2010, 04:45 PM
Hi Cori, 

    Thank you for your help, I try your code but the problem still runs, I look in the manual (Pro Telerik ASP .Net) how to use RadWindowManager, and i found this:

<telerik:RadWindowManager ID="RadWindowManager1" runat="server"
                          DestroyOnClose="false"
                          VisibleStatusbar="false"
                          Modal="true"
                          Behaviors="Close"
                          ShowContentDuringLoad="false"
                          ReloadOnShow="true"
                          style="z-index:20000">
</telerik:RadWindowManager>

if I add the line of code "style =" z-index: 20000" " works fine, I need read more jejeje.

Thank's for your help! :)
Tags
Menu
Asked by
Carlos Valdez
Top achievements
Rank 1
Answers by
Cori
Top achievements
Rank 2
Carlos Valdez
Top achievements
Rank 1
Share this question
or