Hi,
I have created an asp page that has a telerik scheduler control. I am binding all the appointments in the Page_Load function and I have also implemented other functions such as "OnAppointmentInsert", "OnAppointmentUpdate", "OnAppointmentDelete" and so on. Everything is working correctly.
Now I have a requirement to load the appointments after the page is loaded. Therefore I used the webservice functionality that telerik provides(Link1 , Link2).
So now once the page is loaded, the scheduler will call the "GetAppointments" function of the webservice and bind the appointments to the calender.
Now when I move an appointment, it calls the method that was mentioned in the webservice.
But what I want is to call the following function which was written on the page cs file.
What I need is that once the appointments are bounded to the scheduler, the use of the webservice should get disabled. So that it would use the server events I added earlier such as "OnAppointmentInsert", "OnAppointmentUpdate", "OnAppointmentDelete".
However my primary objective is to load the appointments once the page is completely loaded.
Thanks,
Hemika Kodikara
I have created an asp page that has a telerik scheduler control. I am binding all the appointments in the Page_Load function and I have also implemented other functions such as "OnAppointmentInsert", "OnAppointmentUpdate", "OnAppointmentDelete" and so on. Everything is working correctly.
Now I have a requirement to load the appointments after the page is loaded. Therefore I used the webservice functionality that telerik provides(Link1 , Link2).
So now once the page is loaded, the scheduler will call the "GetAppointments" function of the webservice and bind the appointments to the calender.
Now when I move an appointment, it calls the method that was mentioned in the webservice.
public
IEnumerable<AppointmentData> UpdateAppointment(SchedulerInfo schedulerInfo, AppointmentData appointmentData)
But what I want is to call the following function which was written on the page cs file.
protected
void
RadScheduler1_AppointmentUpdate(
object
sender, AppointmentUpdateEventArgs e)
What I need is that once the appointments are bounded to the scheduler, the use of the webservice should get disabled. So that it would use the server events I added earlier such as "OnAppointmentInsert", "OnAppointmentUpdate", "OnAppointmentDelete".
However my primary objective is to load the appointments once the page is completely loaded.
Thanks,
Hemika Kodikara