This is a migrated thread and some comments may be shown as answers.

how to create a RecurrenceRule string in XML

1 Answer 45 Views
This is a migrated thread and some comments may be shown as answers.
Top achievements
Rank 1
Tanuj asked on 10 Sep 2010, 04:09 AM

i am using an XML data file for my scheduler, i am dynamically creating the file and storing on the disk in this location(



"~/App_Data/Calendar.xml")), everything is working fine as expected.

now i need to create the <RecurrenceRule> tag in the xml, i was looking at one example, but i am not sure how to create the RecurrenceRule String, please advice if there are any existing functions that i can use to build this string?

here is what i have for a training class and their corresponding formats
(1) StartDate (ex:  "11/10/2010")
(2) EndDate  (ex: "12/12/2010")
(3) StartTime (ex : "9:30AM")
(4) EndTime (ex: "1:30PM")
(5) Days of Week (ex: "Mon,Wed,Fri")

  <Subject>Technical meeting</Subject>
    <Room Key="1" />
    <User Key="1" />
  <Attribute Key="CustomAttribute" Value="1" />

1 Answer, 1 is accepted

Sort by
Telerik team
answered on 15 Sep 2010, 11:32 AM
Hi Tanuj,

I recommend you use XmlSchedulerProvider as in this demo. It will take care of recurring appointments, reminders and custom attributes automatically.

the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Asked by
Top achievements
Rank 1
Answers by
Telerik team
Share this question