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

Modal Windows and RADMenu

1 Answer 114 Views
Window
This is a migrated thread and some comments may be shown as answers.
Haderach
Top achievements
Rank 1
Haderach asked on 19 Sep 2008, 11:00 AM
Hello,

I am using RadWindow in modal mode on a website with a RadMenu.
My problem is that when my Modal Windows is open, the RadMenu is still available and the user can click on it.

How can I prevent such a behavior?

Thanks for your help.

1 Answer, 1 is accepted

Sort by
0
Accepted
Svetlina Anati
Telerik team
answered on 19 Sep 2008, 11:47 AM
Hi Haderach,

This behavior is caused by the fact the RadMenu's z-index is bigger than the one of RadWindow. You can set proper z-indexes in order to get the desired behavior.

For example if you use RadWindowManager you can set it through the style property. Style="z-index:<some value>" 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.

Example:

<telerik:RadWindowManager   
    style="z-index:90000"   
    ID="RadWindowManager1"   
    runat="server">  
</telerik:RadWindowManager> 

In case you are using a single RadWindow you can set its z-index to be less than 3000 in the above shown manner.

I also suggest to examine this article.

Let me know if you need further assistance.



Sincerely yours,
Svetlina
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Window
Asked by
Haderach
Top achievements
Rank 1
Answers by
Svetlina Anati
Telerik team
Share this question
or