Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / Silverlight > Scheduler > Google calendar integrated with Silverlight

Not answered Google calendar integrated with Silverlight

Feed from this thread
  • Manuel avatar

    Posted on Jan 11, 2012 (permalink)

    hi there,

    I want to know if it´s possible integrate google calendar in silverlight?In my silverlight application I send notifications for e-mail, it will be great if silverlight application communicate with Google Calendar, mark some meeting there, etc.

    Thanks in advance

    Reply

  • Rosi Rosi admin's avatar

    Posted on Jan 13, 2012 (permalink)

    Hi,

    RadScheduler and RadScheduleView controls support Import/Export to Ical format and not to other formats.
    For more details please review our online example. RadScheduleView control does not support built-in integration with Google calendar.

    Greetings,
    Rosi
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

    Reply

  • Rosi Rosi admin's avatar

    Posted on Jan 13, 2012 (permalink)

    Hi Manuel,

    RadScheduler and RadScheduleView controls support Import/Export to Ical format and not to other formats.
    For more details please review our online example. RadScheduleView control does not support built-in integration with Google calendar.

    Kind regards,
    Rosi
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

    Reply

  • Manuel avatar

    Posted on Jan 13, 2012 (permalink)

    Hi Rosi,

    Thanks, i tried like an exameple. In my application I've a RadScheduler but I can´t find Export method?

    Here is my code:

     

    public void ExportaCalendario(object sender, System.Windows.RoutedEventArgs e)
            {
                SaveFileDialog dialog = new SaveFileDialog();
                dialog.DefaultExt = ".ics";
                dialog.Filter = "ICalendar file (.ics)|*.ics";

                bool? result = dialog.ShowDialog();
                if (result.HasValue && result.Value)
                {
                    using (System.IO.Stream stream = dialog.OpenFile())
                    {
                        using (TextWriter writer = new StreamWriter(stream))
                        {
                            RadScheduler s = new RadScheduler();
                            
                            this.sheduler.Export(stream, new SchedulerICalendarExporter()); // ERROR
                            //exporter.Export(this.Appointments.OfType<IAppointment>(), writer);
                        }
                    }
                }

            }

    Thanks in advance,


    Reply

  • Rosi Rosi admin's avatar

    Posted on Jan 18, 2012 (permalink)

    Hello,

    I suggest you use RadScheduleView instead of RadScheduler control. RadScheduler is obsolete and will be removed from the suite in one of our next major releases.
    The example that I provided you illustrates how to implement the task with RadScheduleView
    Below is the code that you can use to export Appointments to ICal format:
    private void ExportToFile()
    {
        SaveFileDialog dialog = new SaveFileDialog();
        dialog.DefaultExt = ".ics";
        dialog.Filter = "ICalendar file (.ics)|*.ics";
     
        bool? result = dialog.ShowDialog();
        if (result.HasValue && result.Value)
        {
            using (Stream stream = dialog.OpenFile())
            {
                using (TextWriter writer = new StreamWriter(stream))
                {
                    AppointmentCalendarExporter exporter = new AppointmentCalendarExporter();
                    exporter.Export(this.Appointments.OfType<IAppointment>(), writer);
                }
            }
        }
    }

    Greetings,
    Rosi
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / Silverlight > Scheduler > Google calendar integrated with Silverlight
Related resources for "Google calendar integrated with Silverlight"

Silverlight Scheduler Features  |  Documentation  |  Demos  |  Telerik TV  |  Self-Paced Trainer  ]