Home Unanswered Active Tags New Question

Setting z-index of DayPilot Calendar

How do I set the z-index of the DayPilot Calendar? Actually I have a DatePicker Control placed above Calendar control. When a image of DatePicker is clicked, it opens the IFrame. The problem is that the IFrame is hidden behind the DayPilot control. How can I send the DayPilot back?

Asked by Piyush 4 years ago.
Replies
DayPilotCalendar itself has no z-index specified (only certain objects, like the moving shadow and the bubble).

You can try the following:
  • Put DayPilotCalendar inside a <div> element with z-index specified.
  • Render your date picker after DayPilot - i.e. have DayPilotCalendar before the date picker in the .aspx file (you would have to arrange the visual order using positioned <div> elements).
However, it's strange that iframe renders behind DayPilotCalendar. There is a known bug of IE (ie z-index bug) and one of the workarounds uses iframe to fix it.
Comment posted by Dan Letecky 4 years ago.
New Reply
This reply is
Your name (optional):

DayPilot for ASP.NET WebForms, DayPilot for ASP.NET MVC, DayPilot for Java