Hello,
I am running VQ3 2009 with hotfixes. I'm having trouble with databinding the scheduler.
I first put this code in the PageLoad() event, but though the data showed in the scheduler just fine, it seemed to cause issues with the navigation pane's calendar popup.
I then moved the code to the PageInit() event. I get unpredictable behavior now where sometimes when i open the page, the scheduler does not contain data, but when I refresh it finally shows the appointments.
Questions:
1. Where should I put my server side data binding statement?
2. Should it be wrapped in an "If(!IsPostBack)" call?
Thanks,
Ryan
I am running VQ3 2009 with hotfixes. I'm having trouble with databinding the scheduler.
- I am binding the data in the server side code by querying my appointments table.
- I traverse the datatable of appointments and build a generic list of <Appointment> objects.
- I then set the datasource of thescheduler to the generic list.
I first put this code in the PageLoad() event, but though the data showed in the scheduler just fine, it seemed to cause issues with the navigation pane's calendar popup.
I then moved the code to the PageInit() event. I get unpredictable behavior now where sometimes when i open the page, the scheduler does not contain data, but when I refresh it finally shows the appointments.
Questions:
1. Where should I put my server side data binding statement?
2. Should it be wrapped in an "If(!IsPostBack)" call?
Thanks,
Ryan