DayPilot Forums

DayPilot is the best open-source Outlook-like calendar control for ASP.NET.
DayPilot Pro Demo (Calendar control)
» DayPilot Pro live demo (Calendar control)
DayPilot Pro Demo (Scheduler control)
» DayPilot Pro live demo (Scheduler control)
Home » DayPilot Lite » Scroll to Hour 8

Scroll to Hour 8

Is there a way to have the DayPilot Lite control automatically scroll or select 8:00 am on intial page load? Say if Non-Business hours are available but I want it to scroll to 8:00 am by default.

Thanks!

Anonymous - 6/18/2008 4:39:06 PM
Since there is no scrollable area in DayPilot Lite you would have to scroll the whole page. You would need to place DayPilotCalendar at a fixed position (at least Y coordinate) and use JavaScript to scroll down by a calculated number of pixels.

The other option is, of course, switching to DayPilot Pro.
Dan Letecky - 6/19/2008 7:22:10 PM
Post reply