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
Technology Tips and News
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
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!!
Milan.
can you explain in more details plss.
i have added this but its not working
If (!Page.IsPostBack)