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

None bindable scheduler

1 Answer 21 Views
Scheduler and Reminder
This is a migrated thread and some comments may be shown as answers.
Top achievements
Rank 1
Roucoz asked on 07 May 2014, 01:46 PM
In my solution, i added a scheduler, with no binding datasource. I am loading data to the scheduler from a database table named "Remndr_table".
When i am loading appointments from the database, the past appointments does not pop-up, even if i set the dismissed = false and the startreminderinterval before

How can i add new record  to "remindr_table" when the user add a new appointment to the scheduler, and how to delete the record it if the user delete the appointment.
I don't want to bind the data...

I made a customappointmenteditform, and i follow the demo steps "Adding a custom field to the EditAppointment dialog"
Everything goes fine.
Only one thing, i am not able to open from the reminder window,  the appointment in my customappointmenteditform.
How can i do that.
i have the following, and it opens the normal editappointmentform
Private Sub radReminder1_ItemOpened(ByVal sender As Object, ByVal e As RadOpenItemArgs)
       Dim editAppointmentDialog As New EditAppointmentDialog(CType(e.RemindObject, IEvent), sche)
       editAppointmentDialog .showdialog 
end sub

1 Answer, 1 is accepted

Sort by
Dess | Tech Support Engineer, Principal
Telerik team
answered on 12 May 2014, 08:29 AM
Hello Roucoz,

Thank you for writing.

Data binding is the convenient approach to load all the appointments from the database and reflect all changes that you make (add new appointments, delete/update existing ones). It is possible to subscribe to the RadScheduler.Appointments.CollectionChanged event and manually perform all the changes to our datatable. However, I would recommend you use the data binding approach.

The RadScheduler.AppointmentEditDialogShowing event is the appropriate place to replace the AppointmentEditDialog with your custom one. As to the reminder, it is necessary to subscribe to its ItemOpened event and show the CustomAppointmentEditForm.

I have prepared a sample project, demonstrating how to achieve your requirement via data binding (which is the recommended way to reflect changes in database) and how to replace the AppointmentEditForm when the "Open Item" button is clicked.

I hope this information helps. Should you have further questions, I would be glad to help.

Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
Scheduler and Reminder
Asked by
Top achievements
Rank 1
Answers by
Dess | Tech Support Engineer, Principal
Telerik team
Share this question