This is a migrated thread and some comments may be shown as answers.

Appointments not update on view when source is updated

2 Answers 109 Views
ScheduleView
This is a migrated thread and some comments may be shown as answers.
Rod Yager
Top achievements
Rank 1
Rod Yager asked on 14 Feb 2011, 05:32 PM
I have added a handler to VisibleRangeChanged event to query the database for appointments within the new date range. However, the appointment source that is updated does not get reflected on the current view. If I switch to another view and back again, I see the appointments.

Is there a way to fix this so that I see my appointments when the AppointmentSource is udpated?

Thanks,
Rod

2 Answers, 1 is accepted

Sort by
0
Rod Yager
Top achievements
Rank 1
answered on 14 Feb 2011, 07:10 PM
I was finally able to accomplish what I wanted using the ViewModel load on demand example.

Thanks,
Rod
0
Hristo
Telerik team
answered on 17 Feb 2011, 10:47 AM
Hi Rod Yager,

We had an issue with Reset on AppointmentsSource collection. After that other actions like Add/Remove did not work as expected until you switch the view. This problem is fixed and will be available with the next Latest Internal Build and with the upcoming beta of 2011 Q1.

Sorry for the inconvenience.

Regards,
Hristo
the Telerik team
Tags
ScheduleView
Asked by
Rod Yager
Top achievements
Rank 1
Answers by
Rod Yager
Top achievements
Rank 1
Hristo
Telerik team
Share this question
or