I'm using the web report viewer and for some reason, although the report has multiple pages, the paging controls (next, previous etc) in the report toolbar are disabled. Here's a screenshot to illustrate:
http://i.imgur.com/UeDyw.png
It should be noted that the data for the report is generated in the aspx codebehind and bound to an ObjectDataSource. Something along the lines of:
The reason for this is that the data is combined from a web service and from a SQL database. Additionally, we couldn't use report parameters because the UI has no time picker in addition to the date picker. So we did our own UI in the aspx.
Anyone have any idea why the paging doesn't work?
Cheers,
Rickard
http://i.imgur.com/UeDyw.png
It should be noted that the data for the report is generated in the aspx codebehind and bound to an ObjectDataSource. Something along the lines of:
var objectDataSource =
new
Telerik.Reporting.ObjectDataSource();
objectDataSource.DataSource = GetData();
var report =
new
Fuelomat.Reports.ConsumptionPerVehicleGroup();
report.DataSource = objectDataSource;
var reportSource =
new
InstanceReportSource {ReportDocument = report};
ReportViewer.ReportSource = reportSource;
ReportViewer.Visible =
true
;
The reason for this is that the data is combined from a web service and from a SQL database. Additionally, we couldn't use report parameters because the UI has no time picker in addition to the date picker. So we did our own UI in the aspx.
Anyone have any idea why the paging doesn't work?
Cheers,
Rickard