This is a migrated thread and some comments may be shown as answers.

Select multiple appointments in code behind

1 Answer 46 Views
ScheduleView
This is a migrated thread and some comments may be shown as answers.
Håkan
Top achievements
Rank 1
Håkan asked on 17 Jan 2014, 02:15 PM
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

1 Answer, 1 is accepted

Sort by
0
Rosi
Telerik team
answered on 20 Jan 2014, 03:38 PM
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 >>
Tags
ScheduleView
Asked by
Håkan
Top achievements
Rank 1
Answers by
Rosi
Telerik team
Share this question
or