Problem with hourly recurring appointment with reminders.

8 posts, 0 answers
  1. umesh prajapati
    umesh prajapati avatar
    9 posts
    Member since:
    Jan 2010

    Posted 19 Aug 2011 Link to this post

    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

  2. Peter
    Admin
    Peter avatar
    6637 posts

    Posted 22 Aug 2011 Link to this post

    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 >>

  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. umesh prajapati
    umesh prajapati avatar
    9 posts
    Member since:
    Jan 2010

    Posted 23 Aug 2011 Link to this post

    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.
  5. Dan Lehmann
    Dan Lehmann avatar
    103 posts
    Member since:
    May 2011

    Posted 26 Aug 2011 Link to this post

    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
  6. Veronica
    Admin
    Veronica avatar
    1213 posts

    Posted 27 Aug 2011 Link to this post

    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 >>

  7. Dan Lehmann
    Dan Lehmann avatar
    103 posts
    Member since:
    May 2011

    Posted 29 Aug 2011 Link to this post

    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
  8. umesh prajapati
    umesh prajapati avatar
    9 posts
    Member since:
    Jan 2010

    Posted 30 Aug 2011 Link to this post

    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.
  9. Veronica
    Admin
    Veronica avatar
    1213 posts

    Posted 02 Sep 2011 Link to this post

    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 >>

Back to Top
UI for ASP.NET Ajax is Ready for VS 2017