I had previously been able to display, update, insert and delete appointments when using a SqlDataSource. Now I am attempting to use a CslaDataSource - just to display appointments for now - and am having some trouble.
I have verified that the collection that I am binding to the scheduler contains the appointment objects I expect to see, and after I bind (in the CslaDataSource's SelectObject event handler, via the EventArgs' BusinessObject property) the scheduler's Appointments collection contains those same objects. However, for some reason they never render on the page - it always appears that the schedule is completely empty.
Calls to the scheduler's DataBind() method are what cause the SelectObject events to fire in the first place, so it's not a simple omission of a call to DataBind(). I have also verified that the resource key values match between the scheduler's Resources and Appointments collections.
Thanks in advance for any help!
Cheers,
Joe
I have verified that the collection that I am binding to the scheduler contains the appointment objects I expect to see, and after I bind (in the CslaDataSource's SelectObject event handler, via the EventArgs' BusinessObject property) the scheduler's Appointments collection contains those same objects. However, for some reason they never render on the page - it always appears that the schedule is completely empty.
Calls to the scheduler's DataBind() method are what cause the SelectObject events to fire in the first place, so it's not a simple omission of a call to DataBind(). I have also verified that the resource key values match between the scheduler's Resources and Appointments collections.
Thanks in advance for any help!
Cheers,
Joe