Reminder Dismiss Event not Firing.

2 posts, 0 answers
  1. Justin
    Justin avatar
    20 posts
    Member since:
    Jul 2011

    Posted 19 Sep 2012 Link to this post

    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: 
    <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
  2. Boyan Dimitrov
    Admin
    Boyan Dimitrov avatar
    2026 posts

    Posted 24 Sep 2012 Link to this post

    Hello Justin,

    I prepared a sample project that shows how RadScheduler1_ReminderDismiss functionality works properly by default. Please find my sample project attached and let me know what else should I add in order to make observe this unusual behavior locally. This way we will be able to inspect the issue and be more helpful in solving it.

     Hope this will be helpful.

    Regards,
    Boyan Dimitrov
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Back to Top