• Material 3
  • Fluent
  • Fluent 2
  • Bootstrap 5
  • Tailwind CSS
  • High Contrast
  • Fluent 2 High Contrast
Preferences
Mode Selection
Touch
Mouse
Theme Selection
Theme Mode
Localization
*Translated by Google Translator.
Currency

Example of Export and Import ICS in ASP.NET Core Scheduler Control

This example showcases how to export the Scheduler events to a calendar (.ics) file, as well as how to import events from an .ics file (downloaded from any of the calendars like Google or Outlook) into our Scheduler.

DEMO
SOURCE
Export as iCalendar
Import iCalendar file

In this example, the Scheduler events can be exported to a calendar (.ics) file by making use of the exportToICalendar public method. By default, the calendar is exported with a file name Calendar.ics. To change this file name on export, pass the custom string value as fileName to get the file downloaded with this provided name. The events from external calendars can also be imported into Scheduler by making use of the importICalendar method. This method accepts the blob object of an .ics file to be imported as a mandatory argument.

Transform your ASP.NET Core web apps today with Syncfusion® ASP.NET Core components
85+ high-performance and responsive UI components
Dedicated support
Hassle-free licensing
TRY IT FOR FREE
opens in a new tab