Home Unanswered Active Tags New Question

Changing the height of calendar at runtime does not seem to work

Hi,

One of the specification of my page is that the calendar has to fill out its container div.

so after the page load I fire a Refresh event nad change the height of the calendar.. after which I issue an DPCCal.Update(DayPilot.Web.Ui.Enums.CallBackUpdateType.Full);

This does not seem to work.. I als0 tried putting it in updatepanel and issuing an update for the panel after the update to the calendar.

Is there any way to change the height at runtime?

Asked by Vaishali 2 years ago.
Replies

Unfortunately, it's not possible to change the height from the server side.

It could work if you changed the height property on the client side (dpc.height) and than called dpc.Init() to redraw the whole control.

However, I've added a support for 100% height support to the wishlist for both the Calendar and the Scheduler.

Comment posted by Dan Letecky 2 years ago.
New Reply
This reply is
Your name (optional):

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