5 Answers, 1 is accepted
0
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.
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.
0
Amit
Top achievements
Rank 1
answered on 10 Nov 2016, 05:11 PM
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.
0
Amit
Top achievements
Rank 1
answered on 10 Nov 2016, 05:14 PM
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 every user so we have to fix it in code.
0
Amit
Top achievements
Rank 1
answered on 10 Nov 2016, 05:14 PM
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.
0
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
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