Add manual appointment in Scheduler

4 posts, 0 answers
  1. Fernando
    Fernando avatar
    2 posts
    Member since:
    Dec 2007

    Posted 19 Nov 2009 Link to this post

    Hi. I could not use Datasource in Scheduler, the option for select Datasource value does not appears in the window (see image "scheduler.jpg").

    My question is... how I can add an appointment to the Scheduler control.

    I mean, something like:


  2. Boyko Markov
    Boyko Markov avatar
    610 posts

    Posted 25 Nov 2009 Link to this post

    Hi Fernando,

    The following code snippet demonstrates adding an Appointment to RadScheduler:

                Appointment app = new Appointment();
                app.Start = this.radScheduler.ActiveView.StartDate;
                app.End = app.Start.AddHours(5);

    Please contact us again if you need more information.

    Boyko Markov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  3. DevCraft R3 2016 release webinar banner
  4. Thomas Hellfritsch
    Thomas Hellfritsch avatar
    2 posts
    Member since:
    Jan 2010

    Posted 05 Feb 2011 Link to this post

    Hello dear Support,

    is there also a way to add a "All Day" Appointment this way? And is there a usable "Tag"-element for relating to an own data-structure?

    (for understanding)
    We cannot use databinding, because the data will be loaded via a service from a remote machine, I could only "simulate" a database, but because of also re-implementing of all editor-dialogs of the scheduler, it would be fine, to use a "manually" way to adding the appointments ;-)

  5. Dobry Zranchev
    Dobry Zranchev avatar
    348 posts

    Posted 09 Feb 2011 Link to this post

    Hi Thomas Hellfritsch,

    Thank you for writing.

    1. You can create appointment that is all day appointment using the following code snippet:

    Appointment app = new Appointment(DateTime.Today, DateTime.Today.AddDays(1));

    2. When using own data structures you can update the start and end dates after setting the IsAllDay property.

    I hope this helps. If you have further questions, feel free to contact me.

    All the best,
    Dobry Zranchev
    the Telerik team
    Q3’10 SP1 of RadControls for WinForms is available for download; also available is the Q1'11 Roadmap for Telerik Windows Forms controls.
Back to Top