RDLC Report Viewer Issue RRS feed

  • Question

  • User-56077080 posted
    Hi Everyone, I have many RDLC reports in my page. First i click one button and report is generated but reportviewer visible is false then i click another button the reportviewer visible is true.... But the report the not shown in the second button click, so i used one coding then the report shown perfectly, but i put that coding in my all pages. I have more than 25 report pages. So Is there any possible to put that coding in Web.Config file.... My Coding is: ReportViewer2.Visible = true; ReportViewer2.ProcessingMode = ProcessingMode.Remote; ReportViewer2.ProcessingMode = ProcessingMode.Local; ReportViewer2.LocalReport.Refresh(); Just tell the solution..... Thanks In Advanced
    Friday, September 14, 2012 1:56 AM


All replies

  • User1630798415 posted

    you can do the settings for report viewer in web.config for following parameters only

    1. ReportViewerServerConnection
    2. ReportViewerTemporaryStorage
    3. ReportViewerMessages


    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Friday, September 14, 2012 7:09 AM
  • User-8475372 posted

    Ideally, I would like to generate all the reports from one report viewer in my c# code. Even if its any number of reports, still my code is singular(written only once). That way, it should work for you too, unless ur code is deviated from this idea.. 

    Friday, September 21, 2012 7:44 AM