This happens because the events are no longer stored in the ViewState by default (since 6.2). I will fix the exception but if you leave your code as it is you will get an empty calendar.
You need to do one of the following:
Call DayPilotCalendar1.DataBind() before calling DayPilotCalendar1.DataBind() [recommended]
Set StoreEventsInViewState="true"
Comment posted by Dan Letecky 15 years ago.
...before calling DayPilotCalendar1.Export() ... of course
This question is more than 1 month old and has been closed. Please create a new question if you have anything to add.