moving Appointment programmatically

3 posts, 0 answers
  1. Kairat
    Kairat avatar
    2 posts
    Member since:
    May 2008

    Posted 14 Aug 2011 Link to this post


    Please, help!
    How to shift or move existed appointment pragmatically.
  2. Mike
    Mike avatar
    3 posts
    Member since:
    Dec 2008

    Posted 15 Aug 2011 Link to this post

    I would call the CollectionChanged event, Check the event argument ActionName for a value of "Moved" and on that Event update your data. I have not tested this, but in theory it should be ok. If anyone else has a better way please chime in!

  3. DevCraft R3 2016 release webinar banner
  4. Stefan
    Stefan avatar
    2891 posts

    Posted 17 Aug 2011 Link to this post

    Hi Kairat,

    Thank you for writing.

    I assume that you need to modify an existing appointment. If this is the case, you can access all appointments from the Appointments collection of RadScheduler and once you get the desired appointment, you can modify its settings. Here is an example of modifying the start time of the first appointment:
    radScheduler1.Appointments[0].Start = DateTime.Now.AddHours(-2);

    I hope that you find this information helpful. Should you have any other questions, do not hesitate to contact us.
    Best wishes,
    the Telerik team

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

Back to Top