Radwindow not modal

4 posts, 0 answers
  1. Kim
    Kim avatar
    27 posts
    Member since:
    Sep 2010

    Posted 09 Feb 2012 Link to this post


    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?
  2. Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 09 Feb 2012 Link to this post

    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.
  3. Kim
    Kim avatar
    27 posts
    Member since:
    Sep 2010

    Posted 10 Feb 2012 Link to this post


    It worked thank you! Never even thought to check that. 
  4. Svetlina Anati
    Admin
    Svetlina Anati avatar
    2795 posts

    Posted 13 Feb 2012 Link to this post

    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 >>
Back to Top