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

Radwindow not modal

3 Answers 67 Views
Window
This is a migrated thread and some comments may be shown as answers.
Kim
Top achievements
Rank 1
Kim asked on 09 Feb 2012, 07:42 PM

When i pop up a radwindow modally, U can still click the rad menu below.

Goto www.iytworldwide.com click on master files | courses then double click any course. The window will pop up, but i can still clik the menu.

bug?

3 Answers, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 10 Feb 2012, 05:00 AM
Hello,

Try setting a lower z-index value to the RadMenu.
CSS:
<style type="text/css">
 .menuCSS
  {
   z-index: 200 !important;
  }
 .windowCSS
  {
   z-index: 7000 !important;
  }
</style>
Also take a look into the following kb article.
 Show RadWindow above RadMenu .

Thanks,
Princy.
0
Kim
Top achievements
Rank 1
answered on 10 Feb 2012, 08:44 PM

It worked thank you! Never even thought to check that. 
0
Svetlina Anati
Telerik team
answered on 13 Feb 2012, 10:50 AM
Hello guys,

The code in mention would work for some simple cases but it overrides the default z-index of the wrapper and this might cause problems e.g in the below scenarios:

1) If you have a RadWindowManager, this could defy the logic of dynamically increasing z-indices
2) This could defy the logic behind ShowOnTopWhenMaximized property
3)Other problems due to overriding the style of the wrapper DIV while the inner client zIndex property holds the old value might arise.

That is why I recommend to use the style attribute which has additional embedded logic implemented for this particular case and this is more reliable solution for the case. 

You can find a more detailed KB article below:

http://www.telerik.com/support/kb/aspnet-ajax/window/show-radwindow-above-radmenu.aspx

Information about RadControls' z-indexes values is available below:

http://www.telerik.com/help/aspnet-ajax/controlling-absolute-positioning-with-zindex.html

I hope that the provided explanations and resources are helpful, let me know how it goes.

Regards,
Svetlina Anati
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
Tags
Window
Asked by
Kim
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Kim
Top achievements
Rank 1
Svetlina Anati
Telerik team
Share this question
or