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
190
How to detect Recuring dates based on pattern?
posted

Could you please let me based on recurring pattern how to detect the dates? Is there anyway to find out?

Parents
No Data
Reply
  • 29417
    Offline posted

    Hello email2prasan ,

     

    You can get all the necessary information for a recurring appointment to find out which dates it’ll be displayed for. You can get all activities for a specific date with:

    ActivitiesSubsetCollection activities =

              this. WebScheduleInfo1.GetActivitiesForDate(this.WebScheduleInfo1.ActiveResource,

              new SmartDate(DateTime.Now));

     

    For each activity that has recurrence you can get the recurrence pattern(activities[0].Recurrence) . You can get its period and start date  ( Period property and StartDateUtc) and also the MaxOccurances if you’ve set any or the EnDateUtc if you’ve set an end date for the recurrence. There’s also a Description property which is a string with a friendly message from when the recurrence is effective and until when. Also holds information about the activity start and end. You can also get the variances associated with this recurrence.

     

    Let me know if you have any questions.

     

    Best Regards,

    Maya Kirova

    Developer Support Engineer

    Infragistics, Inc.

    http://es.infragistics.com/support

     

Children