Quantcast
Channel: Telerik Forums RSS
Viewing all articles
Browse latest Browse all 94857

Restrict Number of Recrods Per Page in Reporting

$
0
0
Hi Rajesh,

On your questions:
  1. You can use an ObjectDatasource that wraps a data retrieval method returning the DataTable object.
    You can also set the data at run-time e.g.:
    var report = new MyReport();
    //set the report's data source
    report.DataSource = GetData();
     
    //set a nested data item's data source
    (report.Items.Find("table1", true)[0] as Telerik.Reporting.Table).DataSource = GetTableData();
     
    //display the report
    var IRS = new InstanceReportSource { ReportDocument = report};
    reportViewer1.ReportSource = IRS;
  2. The report's content is paged based on the designed layout and the report's PageSettings properties - Understanding Pagination.
    In case you are asking how to limit the number of records in the report, you can applying filtering on data retrieval or in the report - Filtering data.
  3. Details how to use SubReport item to display external report in other report are available in How to: Create a Master-Detail Report Using a SubReport Item. Note you can avoid sub reports by using other nested data items like Table/List/Crosstab.


Let us know if you have any further questions.

Regards,
Stef
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items

Viewing all articles
Browse latest Browse all 94857

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>