How do I programatically set ReportSource on a webform

7 posts, 1 answers
  1. Jeff
    Jeff avatar
    11 posts
    Member since:
    Mar 2013

    Posted 01 Aug 2013 Link to this post

    I have read other posts in this forum similar to this one but not quite addressing my question.   I have an aspx page with a list of reports (say ReportList.aspx) that my users can select.   I want to send information on the report selected as a URL parameter to a single page  (say ReportViewer.aspx) that will set the ReportViewer.ReportSource to the report that was selected.  All of the reports are contained within a single dll  (say MyTelerikReports.dll).  I want to be able to pass in all of the information needed for ReportViewer.aspx  to be able to set the ReportSource and render a report.  I don't want to have to modify ReportViewer.aspx when a new report is added to MyTelerikReports.dll.  I should only have to make changes in ReportList.aspx to add the new report and appropriate parameter information.   Is this possible ?

    Thanks -- Jeff Gaiche
  2. Answer
    Peter
    Admin
    Peter avatar
    1649 posts

    Posted 05 Aug 2013 Link to this post

    Hi Jeff,

    Check out the attached sample that illustrates how to achieve the required functionality.

    Regards,
    Peter
    Telerik

    Have you tried the new visualization options in Telerik Reporting Q2 2013? You can get them from your account.

  3. Jeff
    Jeff avatar
    11 posts
    Member since:
    Mar 2013

    Posted 05 Aug 2013 Link to this post

    This is very helpful.  Thanks for the information -- Jeff
  4. Omar
    Omar avatar
    7 posts
    Member since:
    Sep 2016

    Posted 17 Jun 2018 Link to this post

    Hi,

    I have been looking to solve the same problem with html5 report viewer. I have been searching by all the forms are about the old version of telerik report. And this post dos not work any more with the new version of telerik reporting.

    Any help on the new version please.

    Regards,

    Omar

  5. Todor
    Admin
    Todor avatar
    268 posts

    Posted 20 Jun 2018 Link to this post

    Hi Omar,

    The solution works on our side with the latest Telerik Reporting version. The project needs to be upgraded first to the corresponding version installed on your machine. You can use the Upgrade Wizard.

    Note that the example uses the legacy ASP.NET Web Forms Report Viewer as the former has been created before the Html5 Web Forms Report Viewer was introduced in Telerik Reporting.

    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
  6. D
    D avatar
    6 posts
    Member since:
    Aug 2016

    Posted 19 Feb in reply to Todor Link to this post

    I am using similar way to load Reports.I have single aspx page, which changes ReportSource of the Report as per the report selection. I am using Telerik.ReportViewer.WebForms.ReportViewer with version 13.0.19.116.

     

    It works fine, but I want to change the reportviewer theme to Fiori, but I am unable to do that. The only option I see is changing skin - Default, WebBlue, Office2007, original.

    My entire website is using Kendo fiori theme, I cannot show reportviewer in this style. Please help.

     

  7. Todor
    Admin
    Todor avatar
    268 posts

    Posted 21 Feb Link to this post

    Hello D Patel,

    If you would like to use the Kendo themes out of the box it will be necessary to migrate to the Html5 Web Forms Viewer. The legacy ASP.NET Viewer (i.e. Telerik.ReportViewer.WebForms.ReportViewer)  does not utilize Kendo components, hence Kendo themes are not available there. It is no longer improved and we distribute it with the new versions of the product only for backward compatibility of old projects.

    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