A demo with Recurrence?

3 posts, 0 answers
  1. Karl Wilkens
    Karl Wilkens avatar
    206 posts
    Member since:
    Oct 2012

    Posted 23 Apr 2011 Link to this post

    Hi, I have looked quite hard at what you have on line and a working recurrence sample seems to be absent. If I am wrong - wonderful - please point me to it, but otherwise I am trying to just see this work in a dirt simple way. I have this XML

    <?xml version="1.0" encoding="utf-8"?>
        <Subject>testing 123</Subject>

    I am attaching to this as follows

    Protected Overrides Sub OnInit(ByVal e As EventArgs)
            RadScheduler1.Provider = New XmlSchedulerProvider(Server.MapPath("~/App_Data/Appointments.xml"), True)
        End Sub

    What I would like to see is anything at all show up in the scheduler. Its not clear from the documentation as to how to make this work. Thanks.
  2. Veronica
    Veronica avatar
    1213 posts

    Posted 26 Apr 2011 Link to this post

    Hi Karl Wilkens,

    You RadScheduler is bound correctly but you are not able to see your appointment. The reason is the RecurrenceRule. As I see you are creating recurrence on each Tuesday to recur every 52 weeks until 24 April 2012. As the year has 52 weeks you expect two occurences - on 23 April 2011 and one until 24 April 2012. The reason why you can not see any occurence in April 2011 is because 23 April 2011 for example is not Tuesday but Saturday. However if you go to April 2012 you will see your occurence appearing exactly on 24 April 2012 as it is Tuesday and 52 weeks are passed since your previous expected occurence.

    Hope this is clear now. Please let me know if you have further questions.

    Veronica Milcheva
    the Telerik team

    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

  3. Karl Wilkens
    Karl Wilkens avatar
    206 posts
    Member since:
    Oct 2012

    Posted 26 Apr 2011 Link to this post

    Many thanks for the clarification. We will need to apply some validation to prevent certain scenarios where people try to set too many options in the recurrence editor, but this should be quite workable. Thank you!
Back to Top