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

Data Binding to IEnumerable

1 Answer 66 Views
ScheduleView
This is a migrated thread and some comments may be shown as answers.
Pooja
Top achievements
Rank 1
Pooja asked on 19 Sep 2011, 01:31 PM
I have a requirement to bind an IEnumerable collection of say "SearchResult" class to radScheduleView 

I do not want Convert this collection to any other collection say Appointment or DefaultAppointmentCollection. Neither can I implement IAppointment interface in "SearchResult". Still is there a way to show my data through radScheduleView? 

 Please point me a way to achieve this data binding without doing any data conversion. 

1 Answer, 1 is accepted

Sort by
0
Accepted
Rosi
Telerik team
answered on 21 Sep 2011, 10:41 AM
Hello Pooja,

RadScheduler and RadScheduleView display only objects that inherit Appointment class or implement IAppointment interface. If you  need to display any other type of data you have to convert it to appointments.

Regards,
Rosi
the Telerik team

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

Tags
ScheduleView
Asked by
Pooja
Top achievements
Rank 1
Answers by
Rosi
Telerik team
Share this question
or