New to Telerik UI for WinForms? Download free 30-day trial

Export to ICalendar

RadScheduler allows you to export appointments in the industry-standard ICalendar format. For that purpose you need to use the Export method of the RadScheduler class. By using this method you can easily export the appointments in a given SchedulerICalendarExporter instance to a string:

Export to String

string exportResult = this.radScheduler1.Export(new SchedulerICalendarExporter());

Another override of the Export method allows writing the appointment data to a Stream. The following example demonstrates how easy it is to export the appointment data contained in a RadScheduler instance to a file:

Export to Stream

using (FileStream stream = File.Create("schedule.ics"))
{
    this.radScheduler1.Export(stream, new SchedulerICalendarExporter());
}