Dismiss cannot rebind RadScheduler

1 posts, 0 answers
  1. umesh prajapati
    umesh prajapati avatar
    9 posts
    Member since:
    Jan 2010

    Posted 27 Sep 2011 Link to this post


    I have an update panel in that i have "RadScheduler" and other controls...

    I have added one Appointment with "Reminder" of 5 min. as well as daily "Recurrence" as every 1 day...

    Now "Reminder dialog" displayed and i press "Dismiss" it will trigger ReminderDismiss event than AppointmentUpdate and finally AppointmentInsert events

    In dismiss event i have just add code that update Reminder field in database...
    In AppointmentUpdate event i have just updated RecurrenceRule with Exceptions Date that will add "SU EXDATE" to RecurrenceRule...
    In AppointmentInsert event i just add new Simple Appointment same as previously added appointment but with no RecurrenceRule. So the Recurrence start from next day and today will be excluded.

    For Rebinding Appointments from database, In AppointmentInsert event i added the code to Rebind data. But, it will not effect on RadScheduler and when click on edit/delete it ask for "this occurrence or series to Edit/Delete?". However when i click other linkbutton or button from the page, it will Rebind RadScheduler and Scheduler and updated as i want.

    I have tried Response.Redirect in AppointmentInsert event but it shows me error because of CallBack event. So i thought that if it is CallBack event RadScheduler can not able to rebind. Even i can not change any element of aspx page.

    So if possible i want to know after all event Called (ReminderDismiss->AppointmentUpdate->AppointmentInsert) when dismiss pressed, In which event i suppose to do Response.Redirect or RadScheduler Rebind() / Databind() ... ?
Back to Top