Hello,
I have a radscheduler with a SQL data source provider. I have reminders enabled for our radscheduler and I am having a few problems with the reminders themselves. The first issue is that the reminders never seem to go away even after clicking the dismiss button. After the dismiss button is clicked the reminder will appear every time I return to the page and it never seems to be updated in the Reminders column of the DB. I tried adding some custom code in the ReminderDismiss event, but the event never seems to fire which is my second issue. I have these events set up just like the insert/edit events so to speak. However whenever the reminder dialog appears and I click dismiss I am unable to hit this event. I tried the same thing with the snooze event. It never seems hits the event.
Here is my client side code:
As you can see set reminders-enabled to true I have my data reminder field and I have set my OnReminderDismiss event.
Here is my server side code:
Have I missed something really obvious? Is there another property related to reminders that I must set?
Thanks in advance for your help. I do very much like the scheduler tool otherwise.
-Justin
I have a radscheduler with a SQL data source provider. I have reminders enabled for our radscheduler and I am having a few problems with the reminders themselves. The first issue is that the reminders never seem to go away even after clicking the dismiss button. After the dismiss button is clicked the reminder will appear every time I return to the page and it never seems to be updated in the Reminders column of the DB. I tried adding some custom code in the ReminderDismiss event, but the event never seems to fire which is my second issue. I have these events set up just like the insert/edit events so to speak. However whenever the reminder dialog appears and I click dismiss I am unable to hit this event. I tried the same thing with the snooze event. It never seems hits the event.
Here is my client side code:
<
telerik:RadScheduler
ID
=
"RadScheduler1"
runat
=
"server"
DataEndField
=
"End"
DataKeyField
=
"ID"
DataRecurrenceField
=
"RecurrenceRule"
DataRecurrenceParentKeyField
=
"RecurrenceParentID"
DataSourceID
=
"SchedulerDataSource"
DataDescriptionField
=
"Description"
Height
=
"700px"
OnAppointmentCommand
=
"RadScheduler1_AppointmentCommand"
StartInsertingInAdvancedForm
=
"true"
Reminders-Enabled
=
"true"
OnReminderSnooze
=
"Reminder_Snooze"
DataReminderField
=
"Reminder"
OnReminderDismiss
=
"RadScheduler1_ReminderDismiss"
StartEditingInAdvancedForm
=
"true"
OnFormCreated
=
"RadScheduler1_FormCreated"
AdvancedForm-EnableCustomAttributeEditing
=
"true"
OnAppointmentInsert
=
"RadScheduler1_Scheduled_EventsInsert"
OnAppointmentUpdate
=
"RadScheduler1_Scheduled_EventsUpdate"
CustomAttributeNames
=
"AssetName, Parameters"
DataStartField
=
"Start"
DataSubjectField
=
"Subject"
Skin
=
"Sitefinity"
>
<
Localization
AdvancedEditAppointment
=
"Edit Event"
AdvancedNewAppointment
=
"New Event"
/>
<
AppointmentContextMenuSettings
EnableDefault
=
"true"
/>
<
AdvancedForm
Modal
=
"true"
/>
<
AppointmentTemplate
>
<%# Eval("Subject") %>
<
p
style
=
"font-style: italic;"
>
<%# Eval("AssetName")%></
p
>
<%# Eval("Parameters")%></
p
>
</
AppointmentTemplate
>
<
TimelineView
UserSelectable
=
"false"
/>
</
telerik:RadScheduler
>
As you can see set reminders-enabled to true I have my data reminder field and I have set my OnReminderDismiss event.
Here is my server side code:
protected void RadScheduler1_ReminderDismiss(object sender, ReminderDismissEventArgs e)
{
// Lets do some custom code stuff...
e.Cancel = true;
}
Have I missed something really obvious? Is there another property related to reminders that I must set?
Thanks in advance for your help. I do very much like the scheduler tool otherwise.
-Justin