var products = Products.Where(x => x.IsSelected);
Custom business object
DistributionCompilation distribution = new DistributionCompilation();
Populating the business object
distribution.BuildSingleBrandDistributionRport(products, SelectedStart, SelectedEnd, MinBottles, NoBuyPeriod, SelectedBrand.Name);
Setting it as the source for the report
NewDistributions distribution_report = new NewDistributions();
distribution_report.DataSource = distribution.ShowReport();
_View.Report = distribution_report;
6 Answers, 1 is accepted
The navigation buttons are used to navigate between the pages in the current report and not between reports. If you need navigation between reports you can add them to a Report Book, more information you can find in our Report Book help article.
Regards,
IvanY
the Telerik team
Q3’11 of Telerik Reporting is available for download. Register for the What's New in Data Tools webinar to see what's new and get a chance to WIN A FREE LICENSE!
Hello! I am wondering if there is a page navigation event I can utilize. I have a need to update the parameters on a sub-report based on the page displayed in the main report. Being able to update my parameters as the user flips pages would be ideal.
Thanks!
Malcolm
What you want to achieve would happen automatically if you have wired the SubReport as detail report i.e. it would get the value of each record from the master result set and display value accordingly. See How-To: Creating Master-Detail Reports Using SubReports help article for more information.
All the best,
Steve
the Telerik team
HAPPY WITH TELERIK REPORTING? Do you feel that it is fantastic? Or easy to use? Or better than Crystal Reports? Tell the world, and help fellow developers! Write a short review about Telerik Reporting and Telerik Report Designer in Visual Studio Gallery today!
Most likely it does not receive data from the master report. Check that the Parameters property of the SubReport is correctly wired so that its report parameter has as value a field from the master report.
Kind regards,
Steve
the Telerik team
HAPPY WITH TELERIK REPORTING? Do you feel that it is fantastic? Or easy to use? Or better than Crystal Reports? Tell the world, and help fellow developers! Write a short review about Telerik Reporting and Telerik Report Designer in Visual Studio Gallery today!
Thanks everyone! Great product!
Malcolm