calendarxp Site Admin
Joined: 30 Jan 2005 Posts: 409
|
Posted: Fri Jan 30, 2009 7:46 pm Post subject: [PopCalendarXP] The calendar displays behind .NET AjaxToolkit Modal Popup window, how to fix? |
|
|
The .Net AjaxToolkit Modal window control has a default z-index higher than we used for the calendar's iframe (which is 999 by default), and that's why it blocks the view of calendar if you are tring to use PopCalendarXP inside such window.
The fix is simple, either change the z-index of the calendarxp iframe tag to a higher value than the .net component, e.g. 10001.
Or assign a css style with z-index value lower than 999 to the .net Modal window control. e.g.
Code: | <style>
.ForegroundStyle {z-index:900}
</style>
<ajaxToolkit:ModalPopupExtender CssClass="ForegroundStyle" ...> |
_________________ Copyright 2003-2011 Idemfactor Solutions, Inc. All rights reserved. |
|