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

Handle appointment drag server side

3 Answers 60 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
ericc34
Top achievements
Rank 1
ericc34 asked on 31 Oct 2008, 12:50 PM
How I can handle appointment drag server side to update my database ? Actually, I don't use datasource to populate my scheduler. I mus populate manually and I want to update my database manually server side when appointment is dragged

Thanks

3 Answers, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 31 Oct 2008, 04:24 PM
Hello ericc34,

When drag-and-dropping an appointment, the AppointmentUpdate event fires, so you need to handle this event to manually update your database.  

Or, you can use a provider.


Cheers,
Peter
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
ericc34
Top achievements
Rank 1
answered on 03 Nov 2008, 12:44 PM
Thanks I use AppointmentUpdate event to update my database server side. This work well but when I drag my appointment, appointment is save in database with new begin hour but in calendar my appointment is replaced at the same hour begin like I use event.Cancel but I don't cancel event server side.

Do you know why ?
0
Peter
Telerik team
answered on 03 Nov 2008, 01:28 PM
Hello ericc34,

You need to call the Rebind() method of RadScheduler in AppointmentUpdate after  you execute the update to the data source.

All the best,
Peter
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Scheduler
Asked by
ericc34
Top achievements
Rank 1
Answers by
Peter
Telerik team
ericc34
Top achievements
Rank 1
Share this question
or