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

Redirect after saving an appointment

2 Answers 18 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Randy
Top achievements
Rank 1
Randy asked on 10 Dec 2013, 04:20 PM
I am using a custom advanced form with RadScheduler. I would like the Insert/Update process to work this way:

1) User clicks to insert or edit an appointment
2) After entering appointment info, user clicks the "Save" button
3) Appointment is inserted or updated
4) User is then redirected to a secondary form with additional information to add/edit for the appointment (instead of reloading the scheduler)

Any ideas would be great!

Thanks!

2 Answers, 1 is accepted

Sort by
0
Randy
Top achievements
Rank 1
answered on 10 Dec 2013, 10:57 PM
I found a solution in an unlikely place - the object data source.

The object data source has an "OnInserted" event and an "OnUpdated" event.
I can define the needed functionality there. Works like a charm! 

If this is really bad form, please let me know.
0
Vikram
Top achievements
Rank 2
answered on 11 Dec 2013, 02:12 PM
Hi,

I would recommend you to use following server side events for RadScheduler - 

  1. OnAppointmentInsert="EventScheduler_AppointmentInsert"
  2. OnAppointmentUpdate="EventScheduler_AppointmentUpdate" 
  3. OnAppointmentDelete="EventScheduler_AppointmentDelete"

As names suggest they are fired on insert, update or delete of appointments. 

The advantage of using them is that you will be able to get information associated with respective appointment.


Tags
Scheduler
Asked by
Randy
Top achievements
Rank 1
Answers by
Randy
Top achievements
Rank 1
Vikram
Top achievements
Rank 2
Share this question
or