网格的性能问题 [英] Performance issue with the grid

查看:58
本文介绍了网格的性能问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述




我有一个网格,有四十列,一些服务器控件加载它。

程序执行时间大约需要12-15秒,但页面大约需要花费80美元才能加载显示500条记录,是否在网格内部使用服务器控制问题或是否还有其他可能解决此问题?



注意:我没有使用更新面板,它是否有助于这种情况?

Hi
I have a grid which has forty columns with some server controls getting loaded with it.
The procedure execution time takes nearly 12 -15 seconds but the page is taking approximately
80 secs to get loaded to display 500 records nearly,Is using server control inside the grid a problem or is there any other possibility to resolve this issue?

note:I have not used update panel as well will it be instrumental in this scenario?

推荐答案

是..当然加载服务器控件太重了500条记录....



你可以使用HTML控件代替服务器控件..把数据绑定到你可以使用的html控件Jquery或javascript ..它更快......
yes .. ofcourse loading server controls is too heavy with 500 records....

you can use HTML controls instead of server controls ..to bind data to html controls you can use Jquery or javascript.. it is much faster....


这篇关于网格的性能问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆