DayPilot detects window size changes automatically and it will adjust the height of the Scheduler control to match the parent element height if HeightSpec is set to "Parent100Pct".
The key here really is to set the height of the parent element properly. You can use the method outlined here:
http://kb.daypilot.org/22832/how-to-use-scheduler-with-100-height/
It's also possible to position the parent element using left, right, top, bottom CSS properties:
<style>
.parent {
position: absolute;
left: 0px;
right: 0px;
top: 100px; /* 100px margin at the top */
bottom: 50px; /* 50px margin at the bottom */
}
</style>
...
<div class="parent">
<DayPilot:DayPilotScheduler ... HeightSpec="Parent100Pct" />
</div>
Let me know if it didn't help.