Home Unanswered Active Tags New Question

Resize calendar control to fill parent

Is there any way to have a calendar control resize to fill its parent element?

I'm currently doing an investigation into different calendar controls, and really like the DayPilot control. But I need it to resize automatically when the window size changes.

It seems to me like the calendar will resize larger, but if the window shrinks, the calendar doesn't shrink. I've tried setting the HeightSpec to "Parent100Pct", "BusinessHours", etc. but if the container for the calendar is too small, the calendar never shrinks itself.

Asked by Damien Schoof 5 months ago.
Replies

Thanks to Dan for pointing this out for me:
Every single parent element of the calendar must have its height set to 100%. I was missing the "height: 100%" on the HTML element of the page - adding that resized the control to fill the whole frame.

Answer posted by Damien Schoof 5 months ago.
New Reply
This reply is
Your name (optional):

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