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

[Solved] run server-side code at the moment an appointment is occurring

1 Answer 63 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
v
Top achievements
Rank 1
v asked on 10 Jun 2009, 08:37 AM
I am looking for a way to run server-side code at the moment an appointment is occurring (at the appointments start date and start time) and to pass our custom parameters that we added to an appointment previously.

Is there such an event? What would be the accurate implementation?

vtn

1 Answer, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 10 Jun 2009, 03:12 PM
Hi vtn,

If I understand you correctly, then the following should be a plausible solution - Use an Ajaxified Timer to periodically call RadScheduler's Rebind() method. This way AppointmentDataBound will occur on intervals and you can check in its event handler if e.Appointment.Start falls within a range close to DateTime.Now. If true, then execute your server logic. Let me know what you think of this.



All the best,
Peter
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Scheduler
Asked by
v
Top achievements
Rank 1
Answers by
Peter
Telerik team
Share this question
or