Select multiple appointments in code behind

2 posts, 0 answers
  1. Håkan
    Håkan avatar
    183 posts
    Member since:
    May 2011

    Posted 17 Jan 2014 Link to this post

    Hi!

    Is it possible to select multiple appointments in code behind?
    ScheduleView.SelectedAppointments is a read only property.
    But since you are able to select multiple appointments with Ctrl pressed, I think it should be possible to do it programatically also...?

    Regards,
    Håkan
  2. Rosi
    Admin
    Rosi avatar
    2527 posts

    Posted 20 Jan 2014 Link to this post

    Hello,

    The SelectedAppointements property is IList collection so you can try using the Add and AddRange methods to add apppointments to it .

    Also , you can use AppointmentSelectionBehavior behavior and ovveride the
    GetSelectedAppointments
    method to return all appoinmetns you want to be selected.

    Hope this helps.
    Regards,
    Rosi
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
    Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
    Sign up for Free application insights >>
  3. DevCraft banner
Back to Top