Wednesday, August 28, 2013
Sunday, February 28, 2010
Show RadWindow above RadMenu
There are numerous different scenarios and in some of them it is necessary to display a RadMenu control above a RadWindow and in others you may need to do the contrary. You can determine which control to be shown above another one by setting proper z-indexes.
In the specific case which this article is related to you can use two approaches to set the corresponding z-indexes:
This being said the necessary settings for the both approaches should be as the following ones:
Please note the following:
In the specific case which this article is related to you can use two approaches to set the corresponding z-indexes:
- Set a lower z-index to the RadMenu.
- Set a bigger z-index to the RadWindow but this will work only in case you are using the RadWindowManager control.
This being said the necessary settings for the both approaches should be as the following ones:
- Set a lower z-index to the RadMenu:
telerik:radmenu runat="server" id="appMenu" style="z-index:2900"> - Set a bigger z-index to the RadWindowManager as shown below:
telerik:RadWindowManager ID="RadWindowManager1" runat="server" Style="z-index: 7001"> Windows> telerik:RadWindow ID="RadWindow1" runat="server" VisibleOnPageLoad="true" Modal="true"> /telerik:RadWindow> /Windows> /telerik:RadWindowManager>
Please note the following:
- You can set the z-index for all controls in the explained manner only if you are using RadControls for ASP.NET AJAX Q1 2008 Release or a later version.
- style="z-index:
" can be set to the RadWindowManager only, not to the RadWindow control itself. This is because the z-index of the different RadWindows is dynamically changed - even if you have a RadWindow with z-index 100, it will be displayed over other RadWindows with higher z-index value, if active.
Subscribe to:
Posts (Atom)
