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

How to use reminders

1 Answer 65 Views
This is a migrated thread and some comments may be shown as answers.
Top achievements
Rank 1
Rob asked on 07 Sep 2010, 04:46 AM

I am using RadScheduler, version Q1 2010. I have a custom inline edit form with asp dropdownlist that I want to use to set the reminder. How can I save the value of the dropdownlist to the database and use it to open the reminder? Also do you know if the reminder shows only when the scheduler is open or it's available throughout the application?

Thank you,

1 Answer, 1 is accepted

Sort by
Telerik team
answered on 10 Sep 2010, 01:33 PM
Hi Rob,

I've created a sample project to fit your scenario. Please note the CommandName properties of the Buttons in the InlineEditTemplate. You can subscribe to the OnAppointmentCommand event of the RadScheduler and use the following code:

protected void RadScheduler1_AppointmentCommand(object sender, AppointmentCommandEventArgs e)
        DropDownList ddlReminder = e.Container.FindControl("ddlReminder") as DropDownList;
        if (e.CommandName == "Update")
            Appointment appointmentToUpdate = RadScheduler1.PrepareToEdit(e.Container.Appointment, RadScheduler1.EditingRecurringSeries);
            if (ddlReminder.SelectedValue != "none")
                appointmentToUpdate.Reminders.Add(new Reminder(int.Parse(ddlReminder.SelectedValue)));
            //your code here
<telerik:RadScheduler ID="RadScheduler1" runat="server" OnFormCreated="RadScheduler1_FormCreated"
        StartEditingInAdvancedForm="false" SelectedView="MonthView" Reminders-Enabled="true"
            <asp:DropDownList ID="ddlReminder" runat="server">
                <asp:ListItem Text="none" Value="none"></asp:ListItem>
                <asp:ListItem Text="15 min" Value="15"></asp:ListItem>
                <asp:ListItem Text="1 hour" Value="60"></asp:ListItem>
                <asp:ListItem Text="1 day" Value="1440"></asp:ListItem>
            <asp:Button ID="Button1" CommandName="Update" runat="server" Text="Update" />
            <asp:Button ID="Button2" runat="server" Text="Cancel" />

Please note that the reminder will not show if the RadScheduler is not opened!

Let me know if you have more questions.

All the best,
Veronica Milcheva
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Asked by
Top achievements
Rank 1
Answers by
Telerik team
Share this question