Every last Monday of every 2 month

4 posts, 0 answers
  1. Saulius Kundrotas
    Saulius Kundrotas avatar
    4 posts
    Member since:
    May 2010

    Posted 21 Aug 2011 Link to this post

    Hi,

    I don't see possibility to create recuring appointment "every last Monday of every 2 month". In help i found only "How to Create an Appointment that Occurs on Every "n-th" Week Day and the Interval Between Each Recurrence is "m" Months" and for this is used DayOrdinal property.

    If support ticket would help to resolve this quicker let me know.

    Thanks,
    Saulius
  2. Valeri Hristov
    Admin
    Valeri Hristov avatar
    2252 posts

    Posted 22 Aug 2011 Link to this post

    Hi Saulius,

    We have this feature available out of the box, please see the attached screenstot.

    Kind regards,
    Valeri Hristov
    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 WPF is Visual Studio 2017 Ready
  4. Saulius Kundrotas
    Saulius Kundrotas avatar
    4 posts
    Member since:
    May 2010

    Posted 22 Aug 2011 Link to this post

    Thanks for answer, but it would be more productive if you would provide how to achieve this in code and not providing screenshot as you are in this case selling development component and not final products. As I mentioned before I have not found how to achieve this in help of Recurence topic.

    Thanks,
    Saulius
  5. Valeri Hristov
    Admin
    Valeri Hristov avatar
    2252 posts

    Posted 22 Aug 2011 Link to this post

    Hi Saulius,

    I apologize for misunderstanding you. As you didn't mentioned that you need code sample I assumed that you are asking about the general feature. Here is the code sample:
    var appointment = new Appointment
    {
        Start = DateTime.Today, 
        End = DateTime.Today.AddHours(1), 
        RecurrenceRule = new RecurrenceRule(
            new RecurrencePattern(
                null, 
                RecurrenceDays.Monday /*day*/, 
                RecurrenceFrequency.Monthly, 2 /*every two months*/, 
                null, 
                -1 /*first day=1, second day=2, ..., last day=-1*/))
    }

    Regards,
    Valeri Hristov
    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