Report Viewer Next Page is not Displaying

HI All.

i have created .RDLC file/report in MVC, but in Report Viewer when i try to display next page, i am unable to see the next page. it is just displaying the first page data and charts only.

can someone help me on this.Thanks

September 10th, 2015 11:55am

Hi Raj,

Based on the description, you might use the ReportViewer control to display the .RDLC file in a client report module, right? To solve your issue, I want to confirm with you about two points:

1) Are the page break buttons created by coding or the inherent buttons on the ReportViewer control toolbar?

2) Have you add the method "PageNavigation" in your code behind?

If you create the page break buttons by coding or make use of "PageNavigation" method ,please make sure the code for loading report is not lay in the methods "BottnNext_Click", "BottnLast_Click" or "ReportViewer1_PageNavigation" .Because these methods will reproduce the report if you lay them in, your report page will refresh to display the page 1 by default.

Hope this helps!!

Free Windows Admin Tool Kit Click here and download it now
September 10th, 2015 1:05pm

Milan.

can you explain in more details plss.

i have added this but its not working

 If (!Page.IsPostBack) 
{  ReportViewer1.PageCountMode = PageCountMode.Actual;
  ReportViewer1.ProcessingMode = ProcessingMode.Local; }

September 10th, 2015 3:32pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics