How to Refresh Report Viewer..

6 posts, 0 answers
  1. Sunny
    Sunny avatar
    25 posts
    Member since:
    Nov 2008

    Posted 24 Feb 2009 Link to this post

    Hello,
    •  When i generate report in the Report viewer and close that page.
    •  When i reopen the page, it shows me the last created report. I want to refresh the
              report viewer on page_load().



    Thanks,
    Jaspreet.

  2. Steve
    Admin
    Steve avatar
    10940 posts

    Posted 24 Feb 2009 Link to this post

    Hi jaspreet,

    Currently when using the web report viewer, the report is being refreshed upon every postback. So basically if you need to change it on Page_Load, you can hook it to the ReportViewer in Page_Load event based on your conditions instead of declaratively setting it through the aspx markup i.e.

    protected void Page_Load(object sender, EventArgs e)
        {
            if (!Page.IsPostBack && some condition)
            {
                ReportViewer1.Report = new Report1();
            }
            else ...
        }

    Kind regards,
    Steve
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  3. Amit
    Amit avatar
    8 posts
    Member since:
    Jul 2015

    Posted 10 Nov 2016 Link to this post

    Hello,

    We need to refresh the report viewer due to compatibility issue. Report Viewer was working fine in IE 8,9,10 but giving issue in IE11 & Chrome browser. Currently, we are using alternate approach and that is to check the compatibility checkbox in IE setting which is not a solution and can't guide to every user to do it. So we have to fix it in the code so need help on this. Also, when we refresh the report viewer, the report will come but without refresh during page load, it is not coming. Please see the attached screenshots.

    Please help us on this issue asap.

  4. Amit
    Amit avatar
    8 posts
    Member since:
    Jul 2015

    Posted 10 Nov 2016 Link to this post

    The report is not refreshing due to compatibility issue in IE 11 and chrome. Currently, we have a workaround, we click the compatibility checkbox in IE and ask the user to work but it is not possible to explain every user so we have to fix it in code.
  5. Amit
    Amit avatar
    8 posts
    Member since:
    Jul 2015

    Posted 10 Nov 2016 Link to this post

    The report is not refreshing due to compatibility issue in IE 11 and chrome. Currently, we have a workaround, we click the compatibility checkbox in IE and ask the user to work but it is not possible to explain every user so we have to fix it in code.
  6. Stef
    Admin
    Stef avatar
    3610 posts

    Posted 10 Nov 2016 Link to this post

    Hi Amit,

    There are no screenshots to your post. Please illustrate the problem in Ie and Chrome browsers, and include details about the used viewer and Telerik Reporting version.

    Important settings for using IE browser are specified in Browsers and Limitations, please check the linked article.

    Regards,
    Stef
    Telerik by Progress
    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