Redirect after saving an appointment

3 posts, 0 answers
  1. Randy
    Randy avatar
    26 posts
    Member since:
    Jul 2013

    Posted 10 Dec 2013 Link to this post

    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. Randy
    Randy avatar
    26 posts
    Member since:
    Jul 2013

    Posted 10 Dec 2013 Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Vikram
    Vikram avatar
    10 posts
    Member since:
    Oct 2010

    Posted 11 Dec 2013 Link to this post

    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.


Back to Top