Share via


Sorting and Paging (EntityDataSource)

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.

See Also

Concepts

Configuring the EntityDataSource Control

Ordering Results (EntityDataSource)

EntityDataSource Designer

Custom Command Text (EntityDataSource)

Other Resources

Querying Data as Objects (Entity Framework)

Change History

Date

History

Reason

July 2008

Added topic.

SP1 feature change.