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

[Solved] Persisting RadScheduler Appointments

2 Answers 153 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Joseph
Top achievements
Rank 1
Joseph asked on 16 Nov 2009, 10:05 AM
Hi guys,

Is there a way to Persist RadScheduler Appointments to a file or something ( Serialization).

I don't want to create a schema for the appoitments in the DB or putting them in an XML schema storage.

Any built-in Serialization for it?

Thanks.


2 Answers, 1 is accepted

Sort by
0
Joseph
Top achievements
Rank 1
answered on 16 Nov 2009, 01:16 PM
Ok,

I have checked the XMLProvider. this solution will work for me.

But I am getting "String was not recognised as a valid DateTime format" when I try to to get the appointments from the xml file:

  List<Appointment> list = (List<Appointment>)RadScheduler1.Provider.GetAppointments(this.RadScheduler1);

The XML file is as follow :

<?xml version="1.0" encoding="utf-8"?>
<Appointments>
  <NextID>18</NextID>
 
  <Appointment>
    <ID>1</ID>
    <Subject>Breakfast</Subject>
    <Start>16/11/2009 13:00:00 PM</Start>
    <End>16/11/2009 14:00:00 PM</End>
   
  </Appointment>
  
</Appointments>

------

I have tried all the possible formats but still getting the error. same for 2009-11-16T14:00Z

Any suggestion would be highly appreciated.
0
Joseph
Top achievements
Rank 1
answered on 16 Nov 2009, 03:34 PM
Fixed. Thanks
Tags
Scheduler
Asked by
Joseph
Top achievements
Rank 1
Answers by
Joseph
Top achievements
Rank 1
Share this question
or