首页新闻找找看学习计划

Telerik Reporting 分页

0
悬赏园豆:200 [已关闭问题] 关闭于 2014-10-08 22:21
 请教个问题,有人用过telerik reporting么?
在interactive模式下,不管数据有多少,报表都只有1页,应该怎么设置分页呢? 
o﹎箜絔┌↘的主页 o﹎箜絔┌↘ | 初学一级 | 园豆:9
提问于:2014-02-15 21:28
< >
分享
所有回答(2)
0

http://demos.telerik.com/reporting/product-sales/demo.aspx

 

 

是ASP.net  右侧有个源码下载链接,如果不是你选择左侧的.

显示模式里面有连续显示和单页显示

maanshancss | 园豆:303 (菜鸟二级) | 2014-02-16 19:18

你确定有源码下载链接?我怎么没有找到?

支持(0) 反对(0) 袈裟和尚 | 园豆:42 (初学一级) | 2015-09-09 10:10

@袈裟和尚: 大哥 时间过去那么久了没有多正常啊

支持(0) 反对(0) maanshancss | 园豆:303 (菜鸟二级) | 2015-10-20 10:47

@maanshancss: 分页解决了,但不是真分页。测试5W条数据IIS崩溃了。

他们专业的回复貌似也没解决我的问题。也许是我英文太差了。

In general, in the case of IIS processes each process has a limitation of the used for it data - memory for the IIS process. During the report generation the data and the newly created resources by the report are held in memory, thus the machine should have enough memory and CPU to handle the amount of data and the document processing.

Our concerns about rendering large amount of pages are already known. My colleague has explained them here. Performance Considerations- the updated link to our performance considerations article, where you can find suggestions how to optimize the report.


You can implement custom paging where data is obtained in smaller pieces(e.g. 20 records). For the purpose you can use custom UI which on update passes updated parameter's values to the viewer's ReportSource.Parameters collection. The ReportSource.Parameterscollection is mapped by key(name) to the report's ReportParameters collection.

The above will be used only for previewing the report. On export you can use again custom UI and export programmatically a separate instance of the report bound to the whole data. This will save you resources from processing the same report twice - for preview in the viewer and export.

Test also to enable the cache for the viewer to save memory - Cache Management.

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

最后换方案了。
支持(0) 反对(0) 袈裟和尚 | 园豆:42 (初学一级) | 2015-10-20 11:56
0

一次性返回所有数据,分页是怎么实现的呢?

匆匆~~ | 园豆:181 (初学一级) | 2016-07-19 17:18
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册