Hi,
I would love to generate email reminders based on the reminder settings coming from my RadScheduler.
I imagine this would involved a scheduled application running on my server reading through the appointments in the database and checking for reminders and then sending emails.
Does anyone know of any examples or information available online that would help me develop this ?
Thanks
Sam
I would love to generate email reminders based on the reminder settings coming from my RadScheduler.
I imagine this would involved a scheduled application running on my server reading through the appointments in the database and checking for reminders and then sending emails.
Does anyone know of any examples or information available online that would help me develop this ?
Thanks
Sam
5 Answers, 1 is accepted
0
Hi Sam,
Hope this will be helpful.
Greetings,
Plamen Zdravkov
the Telerik team
If you want to send an e-mail in the moment a reminder is triggered you can use an Ajax Request in the OnClientReminderTriggering event as in the code:
function
OnClientReminderTriggering(sender, args) {
$find(
"<%= RadAjaxManager1.ClientID %>"
).ajaxRequest(args.get_appointment().get_subject()+
" after "
+args.get_reminder().get_trigger()+
" minutes"
);
}
protected
void
RadAjaxManager1_AjaxRequest(
object
sender, AjaxRequestEventArgs e)
{
message.Body = e.Argument.ToString();
}
Hope this will be helpful.
Greetings,
Plamen Zdravkov
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
0
sam
Top achievements
Rank 1
answered on 05 Jan 2012, 12:22 PM
Hi,
Thanks for the suggestion.
I believe this idea will only work if the user is looking at the calendar at the time of the reminder.
I mean if someone adds an appointment and sets a reminder for 2 days beforehand, I would like them to be emailed that reminder even if they don't look at the calendar again.
So I guess I need a service on my webhost that checks the database for reminder triggers ?
Cheers
Sam
Thanks for the suggestion.
I believe this idea will only work if the user is looking at the calendar at the time of the reminder.
I mean if someone adds an appointment and sets a reminder for 2 days beforehand, I would like them to be emailed that reminder even if they don't look at the calendar again.
So I guess I need a service on my webhost that checks the database for reminder triggers ?
Cheers
Sam
0
Richard
Top achievements
Rank 1
answered on 09 Jan 2012, 04:55 PM
Sam:
Here's a thought....
"RadScheduler allows you to export appointments in the industry-standard iCalendar format. This is achieved via the ExportToICalendar static method of the RadScheduler class. For a step-by-step implementation, please see the Export to ICalendar help topic."
See the online "Scheduler/iCalendar Export" demo at http://demos.telerik.com/aspnet-ajax/scheduler/examples/export/defaultcs.aspx# for help.
Then, you'd have the option to use the MS Outlook Reminder functionality going forward.
Hope this helps!
Here's a thought....
"RadScheduler allows you to export appointments in the industry-standard iCalendar format. This is achieved via the ExportToICalendar static method of the RadScheduler class. For a step-by-step implementation, please see the Export to ICalendar help topic."
See the online "Scheduler/iCalendar Export" demo at http://demos.telerik.com/aspnet-ajax/scheduler/examples/export/defaultcs.aspx# for help.
Then, you'd have the option to use the MS Outlook Reminder functionality going forward.
Hope this helps!
0
Hello Sam,
Another solution is to export the appointments to ICalendar and use the Outlook reminder pop up after that.
Hope this will help.
Kind regards,
Plamen Zdravkov
the Telerik team
You can get the trigger time in the AppointmentInsert event as well:
protected
void
RadScheduler1_AppointmentInsert(
object
sender, AppointmentInsertEventArgs e)
{
Response.Write(e.Appointment.Reminders[0].Trigger);
}
Another solution is to export the appointments to ICalendar and use the Outlook reminder pop up after that.
Hope this will help.
Kind regards,
Plamen Zdravkov
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
0
sam
Top achievements
Rank 1
answered on 10 Jan 2012, 10:48 AM
Thanks for the suggestions Plamen and Jumpstart !
When I have figured out what I am going to do I will post on this thread it case it helps others.
Cheers
Sam
When I have figured out what I am going to do I will post on this thread it case it helps others.
Cheers
Sam