New to Telerik UI for WinForms? Start a free 30-day trial
Import from ICalendar
Updated over 6 months ago
RadScheduler allows you to import appointments from the industry-standard ICalendar format by using the Import method of the RadScheduler class. Using this method you can very easily Import the appointments from a given SchedulerICalendarImporter instance and a string:
Import with String
C#
string importString = "ICalendar string format";
this.radScheduler1.Import(importString, new SchedulerICalendarImporter());
Another override of the Import method allows you to read appointment data from a Stream:
Import with Stream
C#
using (FileStream stream = File.OpenRead("schedule.ics"))
{
this.radScheduler1.Import(stream, new SchedulerICalendarImporter());
}