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

RadWindow on top of the RadMenu

1 Answer 101 Views
Window
This is a migrated thread and some comments may be shown as answers.
Jagat
Top achievements
Rank 1
Jagat asked on 26 Aug 2011, 08:53 PM

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

1 Answer, 1 is accepted

Sort by
0
Marin Bratanov
Telerik team
answered on 30 Aug 2011, 09:35 AM
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 >>

Tags
Window
Asked by
Jagat
Top achievements
Rank 1
Answers by
Marin Bratanov
Telerik team
Share this question
or