简体   繁体   English

调用时,aspx页的内容大小以MB为单位

[英]Aspx page has content of size in MB while calling

I have an issue. 我有一个问题。 On calling a page "treatmentreq.aspx?key=&refno=0452-85198&user=admin" downloads a page with 12mb of contents. 调用页面时,“ treatmentreq.aspx?key =&refno = 0452-85198&user = admin”将下载内容为12mb的页面。 attached is the screenshot below. 附件是下面的截图。 Click here to go to image. 单击此处转到图像。

How can I solve this issue as it takes 8-10 mintues to load the page? 加载页面需要8到10分钟的时间,我该如何解决此问题? Note: I have been using devexpress as reporting tool. 注意:我一直在使用devexpress作为报告工具。

disabling the view state can solve this problem. 禁用视图状态可以解决此问题。 It can be done by adding EnableViewState="false" in the page directive itself. 可以通过在页面指令本身中添加EnableViewState =“ false”来完成。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM