Report from generic list?

2 posts, 0 answers
  1. Lars
    Lars avatar
    4 posts
    Member since:
    Feb 2009

    Posted 02 Dec 2012 Link to this post

    Before calling my report, I generate a generic list of business objects. The processing is quite complex and I do not want to try to use Telerik's parameter facility to do this. 

    How can I pass this List<BusinessObject> to Telerik Reporting at runtime? What do I use as a datasource in order to design the report?
  2. Steve
    Admin
    Steve avatar
    10941 posts

    Posted 05 Dec 2012 Link to this post

    Hi Lars,

    For backwards compatibility reasons Telerik Reporting supports binding directly to IEnumberable/IListSource objects (incl. arrays, collections, DataSet, DataTable, DataView, DbDataAdapter), so you can bind directly to your List. However instead you might consider using the ObjectDataSource that can handle this types of data sources.

    As for the design time support, check out the following help article: Working With Data at Design Time.

    All the best,
    Steve
    the Telerik team

    HAPPY WITH TELERIK REPORTING? Do you feel that it is fantastic? Or easy to use? Or better than Crystal Reports? Tell the world, and help fellow developers! Write a short review about Telerik Reporting and Telerik Report Designer in Visual Studio Gallery today!

  3. UI for WinForms is Visual Studio 2017 Ready
Back to Top