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

Dismiss cannot rebind RadScheduler

0 Answers 127 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
umesh prajapati
Top achievements
Rank 1
umesh prajapati asked on 27 Sep 2011, 01:37 PM
Hi,

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() ... ?

No answers yet. Maybe you can help?

Tags
Scheduler
Asked by
umesh prajapati
Top achievements
Rank 1
Share this question
or