Recurrence End Date or Occurrences, how do I get them?

4 posts, 0 answers
  1. Benjamin
    Benjamin avatar
    4 posts
    Member since:
    Feb 2011

    Posted 06 Feb 2014 Link to this post

    I'm working with the  RadSchedulerRecurrenceEditor and trying to determine how to access the No End Date, End after, or End By values at the bottom of the control. I've seen the "help" (in quotes because it's hardly helpful) article that discusses reading the text and go thru some god awful mess to eventually split, trim, format, wipe, and by next week you might have the value process. The Pattern otpitons are accessible by properties, so I have got to believe that the Recurrence end values are accessible by properties. Does anyone out there have some insite on getting these values?
  2. Plamen
    Plamen avatar
    2817 posts

    Posted 07 Feb 2014 Link to this post

    Hello Benjamin,

    Thank you for your feedback.

    In case you are trying to get the value from the server side you can use the RecurrenceRule.Range properties to get the values of the end Date fields as in the code below:

    <telerik:RadSchedulerRecurrenceEditor runat="server" id="RadSchedulerRecurrenceEditor1"></telerik:RadSchedulerRecurrenceEditor>
        <telerik:RadButton runat="server" ID="RadButton1" OnClick="RadButton1_Click"></telerik:RadButton>

    protected void RadButton1_Click(object sender, EventArgs e)
         Response.Write(RadSchedulerRecurrenceEditor1.RecurrenceRule.Range.RecursUntil + "<br/>");
         Response.Write(RadSchedulerRecurrenceEditor1.RecurrenceRule.Range.MaxOccurrences + "<br/>");

    Please let me know if your scenario is somehow different.

    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the UI for ASP.NET AJAX, subscribe to the blog feed now.
  3. puneet
    puneet avatar
    2 posts
    Member since:
    Apr 2015

    Posted 08 Apr 2015 Link to this post

    I am using the RadSchedulerRecurrenceEditor to run my task for different-different frequency options: Hourly,Weekly,Monthly,Yearly etc.

    I would like to know about the max no of occurences for every frequency types.

  4. Plamen
    Plamen avatar
    2817 posts

    Posted 09 Apr 2015 Link to this post


    The max number of occurrences is controlled by the MaximumRecurrenceCandidates property of RadScheduler that is set to 3000 by default.

    Hope this will help you solve the issue. 


    See What's Next in App Development. Register for TelerikNEXT.

Back to Top