ComponentArt 2011 Web.UI for ASP.NET AJAX DataGrid RunningMode属性

本文介绍了ComponentArtGrid在不同运行模式下的使用方法及其特点,包括客户端模式、回调模式、服务器模式及Web服务模式,详细阐述了每种模式下数据处理的方式及优缺点。

Using Client Running Mode

ComponentArt Grid in Client running mode (RunningMode="Client") provides the fastest performance and richest user interface. In Client running mode, paging, sorting, and filtering are handled within the client browser. There's no need to return to the server to refresh the data or page elements. However, performance may degrade when the volume of data stored on the client exceeds about 5000 records. If your queries return over 5000 records, consider implementing Callbackmode to fetch additional data from the server without forcing a refresh of the entire page.
原始地址:http://docs.componentart.com/#UIFramework/2011/ComponentArt.Web.UI.AJAX/Grid_Implementing_a_Grid_Using_Client_Running_Mode.htm

Using Callback Running Mode

ComponentArt Grid in Callback running mode (RunningMode="Callback") provides the best performance when you have huge amounts of data - in the millions of records. In this mode, ComponentArt Grid uses callbacks to refresh only the data while paging. Other page elements such as images are not refreshed and non-data areas of the grid (for example, the header) remain intact. For the best performance with smaller amounts of data, Client running mode is the preferred choice.
In Callback mode a spinner icon may appear in the browser as the grid is redrawn with the latest data. This indicates that the data is still being retrieved. The delay is more noticeable when the connection is slow or there is a very large amount of data.

Using Server Running Mode

Use ComponentArt Grid in Server running mode (RunningMode="Server") when you need to access templates. This mode performs server postbacks to refresh, page, sort, and group data. 
原始地址:http://docs.componentart.com/#UIFramework/2011/ComponentArt.Web.UI.AJAX/Grid_Implementing_a_Grid_Using_Server_Running_Mode.htm

Using WebService Running Mode

原始地址:http://docs.componentart.com/#UIFramework/2011/ComponentArt.Web.UI.AJAX/WebServices_Grid_WebService_RunningMode.htm
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值