search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

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

Asked by Vaishali
15 years ago.

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?

Comment posted by Dan Letecky
15 years ago.

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.

This question is more than 1 months old and has been closed. Please create a new question if you have anything to add.