Is there a way to automatically adjust the data source in the report

2 posts, 0 answers
  1. Harsha
    Harsha avatar
    20 posts
    Member since:
    Mar 2015

    Posted 22 Mar 2015 Link to this post

    I have created a report using temporary database and its working properly. Now I want to move it to the original database which is having the same columns as in the temporary database. So when I do it I need to configure the data source again if I want to add multiple reports. Is there a way to automatically do this data source configuration process if I configure data source of one report correctly.
  2. Stef
    Admin
    Stef avatar
    3610 posts

    Posted 25 Mar 2015 Link to this post

    Hello Harsha,

    You can modify the configured data sources by iterating the report's Items collection and getting the DataSource properties of each data item. An example is available in the Changing the connection string dynamically according to runtime data KB article.

    I hope this helps you.

    Regards,
    Stef
    Telerik
     

    See What's Next in App Development. Register for TelerikNEXT.

     
Back to Top