Skip to main content
All docs
.NET 6.0+

XpoDataView.UseServerSideSorting Field

Indicates that the sort operation is executed on the server side before the result set is trimmed according to the TopReturnedObjects property.

Namespace: DevExpress.ExpressApp.Xpo

Assembly: DevExpress.ExpressApp.Xpo.v23.2.dll

NuGet Package: DevExpress.ExpressApp.Xpo


public bool UseServerSideSorting

Field Value

Type Description

true if the sort operation is executed on the server side; false if the sort operation is executed on the client side. The default value equals the DefaultUseServerSideSorting static field’s value.


You can specify the UseServerSideSorting field in a List View Controller as demonstrated below:

using DevExpress.ExpressApp;
using DevExpress.ExpressApp.Xpo;
// ...
public class CustomizeListViewController : ViewController<ListView> {
    protected override void OnActivated() {
        var xpoDataView = View.CollectionSource.Collection as XpoDataView;
        if (xpoDataView != null) {
            xpoDataView.UseServerSideSorting = false;

If you want to specify this option globally for all List Views, use the static DefaultUseServerSideSorting field instead.


With server-side sorting, you can use only persistent and aliased properties in the Sorting criteria. With client-side sorting, you can also use column names.

See Also