ReportViewer Paging Problem
Hi All,
I have a bit of trouble here. I am using ReportViewer in ASP.Net (3.5) to view my reports. No problem with output except,
I have a custom textboxes and button and upon submit, report still displays Ok but the paging is gone.
At first load of page it has "1 of 1 pages" it the report's but upon submit it turns "0 of 0 Pages".
Here are my Reportviewer Settings:
<rsweb:ReportViewer ID="ReportViewer1"
runat="server"
Font-Names="Verdana"
DocumentMapCollapsed="false" ShowFindControls="true"
ShowDocumentMapButton="true"
ShowToolBar="true"
ShowPrintButton="true"
ProcessingMode="Local"
Font-Size="8pt" Height="400px" Width="100%">
<LocalReport ReportPath="reports/rdlc/standard/srvrptbyStatus.rdlc"></LocalReport>
</rsweb:ReportViewer>
Here is how I fill it up:
sbcs = ListofRecords.ToList();
ReportViewer1.LocalReport.DataSources.Clear();
ReportDataSource rds = new ReportDataSource("DataSet1_ServicesByStatus", sbcs);
ReportViewer1.LocalReport.DataSources.Add(rds);
ReportViewer1.LocalReport.Refresh();
Any Ideas?