Opening EditAppointmentDialog from other control

2 posts, 0 answers
  1. Jakob
    Jakob avatar
    2 posts
    Member since:
    Jul 2011

    Posted 19 Jul 2011 Link to this post


    I would like to open a default ScheduleView edit window from a TreeView control.  What I need is to click on a treeview item and get a window populated with the Appointment's data. Please help or let me know whether it's even possible.

    Best regards,
  2. Yana
    Yana avatar
    4713 posts

    Posted 22 Jul 2011 Link to this post

    Hello Jakob,

    You could use RadScheduleView Create command in order to open EditAppointmentDialog:

    var app = new Appointment()
           Start = DateTime.Now,
           End = DateTime.Now.AddHours(1)
    RadScheduleViewCommands.CreateAppointment.Execute(app, scheduleView);

    where scheduleView is the name of the RadScheduleView control.

    Hope this helps.

    the Telerik team

    Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

Back to Top