RadWindow on top of the RadMenu

2 posts, 0 answers
  1. Jagat
    Jagat avatar
    150 posts
    Member since:
    Jan 2011

    Posted 26 Aug 2011 Link to this post


    Hello,
     
       In my web application , I have a RadMenu, and in the Item click of the RadMenu, I am opening a RadWindow. This RadWindow is supposed to come on top of the RadMenu. But it is going below the RadMenu even though i set the Z-Index

    Code I Have

    <script type="text/javascript">
    function NewRadWindow(sender,eventArgs) {
    var item = eventArgs.get_item();
     if (item.get_text() == "BreakTime") {
          radopen(null,"BreakWindow");
        return false;
     }
    </script>

      <telerik:RadMenu ID="RadMenu1" runat="server" orientation="Horizontal" Skin="Windows7" OnClientItemClicking ="NewRadWindow"  style="z-index:2900" EnableRoundedCorners="True" EnableShadows="True" Height="39px" Width="100%" CausesValidation="False">

     <telerik:RadWindowManager ID="RadWindowManager1" runat="server" RestrictionZoneID="zoneID1" Style="z-index: 7001">
                                                <Windows>
                                                    <telerik:RadWindow ID="BreakWindow" runat="server"               NavigateUrl="frm_BreakTime.aspx"  AutoSize="true"   />
                                                                                                   
                                                </Windows>
                                            </telerik:RadWindowManager>

    I added the RadWindow in the RadWindowManager and I am opening the RadWindow from the Javascript as shown above.
    Even though i Set the Z-Index of RadWindow as 7001 and RadMenu as 2900, I still the RadMenu on the top of the RadWindow.

    Am i missing something?

    Thanks
  2. Marin Bratanov
    Admin
    Marin Bratanov avatar
    4630 posts

    Posted 30 Aug 2011 Link to this post

    Hello Jagat,

    Please refer to your other thread on the matter for an example where this code works correctly. Perhaps the issue indeed was the missing closing bracket of the JavaScript function.

    If you are still having difficulties with this issue I would advise that we continue our discussion in the other thread to avoid duplicates. Once we have reached a conclusion you may post our findings here as well for someone experiencing a similar issue.


    Greetings,
    Marin
    the Telerik team

    Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

Back to Top