Is there any good solution for ajax enabled Grid with pageing and sorting which only brings the required data from database? I mean it should only bring the data from the database which is to be displayed on the particular page number of the grid.
对于启用了ajax的网格,是否有任何良好的解决方案,只能从数据库中获取所需的数据页面和排序?我的意思是它应该只带来数据库中的数据,该数据将显示在网格的特定页码上。
I looked at this. It looks good. But I just thought if anyone has created something better using Google's or Yahoo's javascript library or using any good features of asp.net 3.5.
我看着这个。看上去不错。但我只是想如果有人使用谷歌或雅虎的JavaScript库或使用asp.net 3.5的任何优秀功能创造了更好的东西。
3 个解决方案
#1
3
I'm replying my own question.
我在回答我自己的问题。
I found Ajax Data Controls as updated version of what I had specified in my question. Still I will not mark it as answer and will wait for better answer.
我发现Ajax Data Controls是我在问题中指定的更新版本。我仍然不会将其标记为答案,并会等待更好的答案。
#2
2
If you are using a datasource control (SqlDataSource, LinqDataSource etc) this would be done automatically (retrieving only the current page of data). To make paging and sorting ajax-enabled wrap the grid inside an UpdatePanel control.
如果您正在使用数据源控件(SqlDataSource,LinqDataSource等),则会自动完成(仅检索当前数据页)。要使分页和排序启用ajax,请在UpdatePanel控件内包装网格。
#3
0
I used devexpress grid. It has sorting, grouping and paging. It is not perfect one but looks nice and easy to use.
我使用了devexpress网格。它具有排序,分组和分页功能。它不是完美的,但看起来不错,易于使用。
#1
3
I'm replying my own question.
我在回答我自己的问题。
I found Ajax Data Controls as updated version of what I had specified in my question. Still I will not mark it as answer and will wait for better answer.
我发现Ajax Data Controls是我在问题中指定的更新版本。我仍然不会将其标记为答案,并会等待更好的答案。
#2
2
If you are using a datasource control (SqlDataSource, LinqDataSource etc) this would be done automatically (retrieving only the current page of data). To make paging and sorting ajax-enabled wrap the grid inside an UpdatePanel control.
如果您正在使用数据源控件(SqlDataSource,LinqDataSource等),则会自动完成(仅检索当前数据页)。要使分页和排序启用ajax,请在UpdatePanel控件内包装网格。
#3
0
I used devexpress grid. It has sorting, grouping and paging. It is not perfect one but looks nice and easy to use.
我使用了devexpress网格。它具有排序,分组和分页功能。它不是完美的,但看起来不错,易于使用。