Data Binding to IEnumerable

2 posts, 1 answers
  1. Pooja
    Pooja avatar
    55 posts
    Member since:
    Feb 2011

    Posted 19 Sep 2011 Link to this post

    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. 
  2. Answer
    Rosi
    Admin
    Rosi avatar
    2529 posts

    Posted 21 Sep 2011 Link to this post

    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 >>

Back to Top