ASP .NET MVC Using ObjectDataSource

6 posts, 0 answers
  1. Aubrey Ivan
    Aubrey Ivan avatar
    25 posts
    Member since:
    Oct 2019

    Posted 27 Oct Link to this post

    Hi, I want to create a MVC Application which uses an external API where I will get my data from. Its my first time using telerik reporting and I think I'm supposed to use the objectDataSource component based on the documentation, because I don't need to use the sqlDatasource. Does anyone have any repos or demo app that I can follow? I would really appreciate it. Thanks.
  2. Aubrey Ivan
    Aubrey Ivan avatar
    25 posts
    Member since:
    Oct 2019

    Posted 28 Oct Link to this post

    I've solved it, it seems that using the 'reports' as the htmlviewer id is somehow breaking the application...
  3. Aubrey Ivan
    Aubrey Ivan avatar
    25 posts
    Member since:
    Oct 2019

    Posted 28 Oct in reply to Aubrey Ivan Link to this post

    I've commented to the wrong post, I still need to figure this out.
  4. Todor
    Admin
    Todor avatar
    397 posts

    Posted 30 Oct Link to this post

    Hello Aubrey Ivan,

    If your data is supposed to come from a Web Service you may use our dedicated WebServiceDataSource component. You may check the step-by-step tutorial How to: Connect to Google Books APIs.

    In other cases, you may indeed use the ObjectDataSource component. We provide a sample with our demos that come with the installation of Telerik Reporting. The demos are deployed by default in (Telerik Reporting installation folder)\Examples\CSharp or VB (e.g. C:\Program Files (x86)\Progress\Telerik Reporting R3 2019\Examples\CSharp). The ReportLibrary project contains our CLR reports. The report using an ObjectDataSource is ListBoundReport in the sub-folder DataBinding of the project. The model (Car) and the data providing class (Cars) are in the same folder.

    I suggest to test and if you have any difficulties you may open a support ticket and ask further questions.

    Regards,
    Todor
    Progress Telerik

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  5. Aubrey Ivan
    Aubrey Ivan avatar
    25 posts
    Member since:
    Oct 2019

    Posted 31 Oct in reply to Todor Link to this post

    Hi, I posted another question, I keep getting No Report Message from the ASP .NET Report Viewer.. can you give me some ideas please?
  6. Todor
    Admin
    Todor avatar
    397 posts

    Posted 04 Nov Link to this post

    Hello Aubrey Ivan,

    The error message 'No Report' in the Html5 Viewer usually means that there is no reportSource assigned to the viewer. I suggest checking How to: Set ReportSource for Report Viewers article.

    Regards,
    Todor
    Progress Telerik

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top