4 Answers, 1 is accepted
0
Sina,
Thank you for writing.
RadScheduler will not update when your database changes unless your binding source gets updated and raises the ListChanged notification. You can refer to the following threads for additional information on how you can notify your application when the database changes:
I hope this helps. Should you have further questions please do not hesitate to write back.
Regards,
Hristo
Progress Telerik
Thank you for writing.
RadScheduler will not update when your database changes unless your binding source gets updated and raises the ListChanged notification. You can refer to the following threads for additional information on how you can notify your application when the database changes:
- https://stackoverflow.com/questions/3723551/how-can-i-notify-my-program-when-the-database-has-been-updated.
- https://stackoverflow.com/questions/5288434/how-to-monitor-sql-server-table-changes-by-using-c
I hope this helps. Should you have further questions please do not hesitate to write back.
Regards,
Hristo
Progress Telerik
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
0
Sina
Top achievements
Rank 1
answered on 05 Oct 2017, 10:33 AM
hi, Histro,
My question is how to notify the scheduler to get the new data, not knowing when the data updated.I know when the data updates and after that, I want to force my to go and get the new record.
Hope you Understand.
Regards
0
Sina,
Thank you for writing back.
You do not have to notify the scheduler control explicitly. Your data source object should notify it. As long as it raises the ListChanged notification the control will update the collection of elements it is displaying.
If for some reason you have updated data locally and your data source object has not raised the notification, you can use the SchedulerBindingDataSource.Rebind method. You can refer to the following section of the documentation for detailed information about the various ways to bind the control: http://docs.telerik.com/devtools/winforms/scheduler/data-binding/introduction.
I hope this helps. Should you have further questions please do not hesitate to write back.
Regards,
Hristo
Progress Telerik
Thank you for writing back.
You do not have to notify the scheduler control explicitly. Your data source object should notify it. As long as it raises the ListChanged notification the control will update the collection of elements it is displaying.
If for some reason you have updated data locally and your data source object has not raised the notification, you can use the SchedulerBindingDataSource.Rebind method. You can refer to the following section of the documentation for detailed information about the various ways to bind the control: http://docs.telerik.com/devtools/winforms/scheduler/data-binding/introduction.
I hope this helps. Should you have further questions please do not hesitate to write back.
Regards,
Hristo
Progress Telerik
Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
0
Sina
Top achievements
Rank 1
answered on 07 Oct 2017, 06:34 AM
Hello again :)
Rebind didn't work for my case, but this worked:
- this.(tableName)TableAdapter.Fill(this.(databaseName)DataSet.(TableName);
thanks alot