Is there any ASP view that has paging like listview and sorting like dataview?
I was trying to avoid the implementation of one of those two manually.
GridView automatically implements these two abilities. Make sure the AllowSorting
and AllowPaging
properties are set to true. If you're using a sqlDataSource or objectDataSource the functionality is automatically taken care for your.
GridView AllowPaging property description
GridView AllowSorting property description
By default the GridView displays 10 records at a time but you can change that by setting the PageSize
property.