Sorting and Paging (EntityDataSource)

Updated: July 2008

The EntityDataSource control supports automatically sorting and paging the data that queries return. The AutoPage() and AutoSort() properties of the EntityDataSource control are Boolean properties that indicate whether paging and sorting are enabled for data-bound controls. When these properties are set to true, the EntityDataSource control adds the appropriate query builder methods to the ObjectQuery<T> based on the information that the data-bound control supplies to the EntityDataSourceView.

The value of the AutoPage() property determines whether the CanPage property of the EntityDataSourceView control is true or false. The value of the AutoSort() property determines whether the CanSort and CanRetrieveTotalRowCount properties of the EntityDataSourceView control are true or false.




July 2008

Added topic.

SP1 feature change.

Community Additions