Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
229
How to set reminder for the appointment?
posted

Hi All,

 Appointment app = new Appointment(StartTime, EndTime);
app.Reminder.Snoozed = true;
app.Reminder.SnoozeInterval = 2;
app.Reminder.SnoozeIntervalUnits = SnoozeIntervalUnits.Minutes;
app.Reminder.SnoozeTime = StartTime;
calAppEntity.AllProperties = app.Save();

In the above code i m trying to set reminder time for the appointment.But the snoozed,SnoozedInterval, SnoozeIntervalUnits and SnoozeTime values are not changed after assign the values for that.

I dont know this is the right way to write the my code for snooze the reminder. Please any one help me........

 

Regards,

Govindharaju

  • 53790
    posted

    Hi,

    Please take a look at the code below and also to attached sample. If you have any questions do not hesitate to ask me
    Regards


    Appointment app = new Appointment(DateTime.Now.AddSeconds(60), DateTime.Now.AddSeconds(120));
    app.Subject = "Test Appointment";
    app.Reminder.DialogText = "Reminder Reminder";
    app.Reminder.Owner.CalendarInfo = ultraCalendarInfo1;
    app.Reminder.DisplayInterval = 1;
    app.Reminder.Enabled = true;
    app.Reminder.Snoozed = true;

    TestReminer.rar