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

Problem with hourly recurring appointment with reminders.

7 Answers 62 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 19 Aug 2011, 05:18 AM
Hi,

    We have created hourly recurring appointments with reminder, we are not getting the exact idea about how to dismiss the appointments?

For these types of appointments, it will fires following events when we press dismiss button,

      1. ReminderDismiss

      2. AppointmentUpdate

      3. AppointmentInsert

can you give us some suggestion about what are the operations we require to perform in these events?

FYI. We have used “AdvancedInsertTemplate” and “AdvancedEditTemplate”.

Thanks

7 Answers, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 22 Aug 2011, 12:07 PM
Hello Umesh,

If an appointment has a reminder, a prompt window will show up at the expected time that will allow you to dismiss the appointment. You can test the functionality in this demo - http://demos.telerik.com/aspnet-ajax/scheduler/examples/reminders/defaultcs.aspx

Kind regards,
Peter
the Telerik team

Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

0
umesh prajapati
Top achievements
Rank 1
answered on 23 Aug 2011, 08:09 AM
Hi,
    
    Thanks for the reply, yes, the reminder popup will be opened, but we have a question that, when we press dismiss/dismiss all button at that time, it will fire "ReminderDismiss, AppointmentUpdate, AppointmentInsert" events sequentially, so which are the operation we have to perform in these events. Currently reminder popup is opened again and again even if we have dismiss the appointment.
We have this problem, when we select recurrence rule with reminder.

Thanks.
0
Dan Lehmann
Top achievements
Rank 1
answered on 26 Aug 2011, 06:10 PM
Someone from Telerik please help me if I'm wrong here.. I handle this in the ReminderDismiss. There is nothing for Snooze because that is only handled on the client. I'm using objects so here is my code:

	Private Sub RadScheduler1_ReminderDismiss(sender As Object, e As Telerik.Web.UI.ReminderDismissEventArgsHandles RadScheduler1.ReminderDismiss
		Dim ev As objCRM.Event = New objCRM.Event(e.Appointment.ID)
		ev.Reminder = e.ModifiedAppointment.Reminders.ToString
		ev.Update()
	End Sub


Dan
0
Veronica
Telerik team
answered on 27 Aug 2011, 05:45 PM
Hi Dan,

I didn't underestood your problem. Could you please be more specific on the requirement?

Greetings,
Veronica Milcheva
the Telerik team

Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

0
Dan Lehmann
Top achievements
Rank 1
answered on 29 Aug 2011, 02:36 PM
The first sentence was just to ask you Veronica if I was giving correct information to Umesh. So let me rephrase what I said, and you can correct me if I'm wrong.  Thanks!


I handle this in the ReminderDismiss. There is nothing for Snooze because that is only handled on the client. I'm using objects so here is my code:

	Private Sub RadScheduler1_ReminderDismiss(sender As Object, e As Telerik.Web.UI.ReminderDismissEventArgsHandles RadScheduler1.ReminderDismiss
		Dim ev As objCRM.Event = New objCRM.Event(e.Appointment.ID)
		ev.Reminder = e.ModifiedAppointment.Reminders.ToString
		ev.Update()
	End Sub


Dan
0
umesh prajapati
Top achievements
Rank 1
answered on 30 Aug 2011, 02:05 PM
Hi,

    This code working fine, when we create simple reminders. but when we set recurrence rule with reminders and write this code in "ReminderDismiss" event, at that time  "e.ModifiedAppointment.Reminders.ToString()" is blank, so Appointment reminder is updated with blank value and for the next appointment occurrences, the reminder popup will not appear, So my question is, how to handle this situation?

For this type of situation, it will fire "ReminderDismiss, AppointmentUpdate, AppointmentInsert" events sequentially. can you guide us about the operation we should perform in this events.

Thanks.
0
Veronica
Telerik team
answered on 02 Sep 2011, 09:06 AM
Hi Umesh,

You need to get the Reminders not from the e.ModifiedAppointment as it is the modified appointment with updated reminders. Instead you need to use e.Appointment.
 
Also in your code I can see that you are trying to set the Reminders to another Appointment and Update it. Could you please be more specific on what are you trying to achieve?

Greetings,
Veronica Milcheva
the Telerik team

Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

Tags
Scheduler
Asked by
umesh prajapati
Top achievements
Rank 1
Answers by
Peter
Telerik team
umesh prajapati
Top achievements
Rank 1
Dan Lehmann
Top achievements
Rank 1
Veronica
Telerik team
Share this question
or