It is a known Server Mode Limitation that the selection of all grid rows using the built-in SelectAll check box is not supported, but ASPxGridListEditor always configures the grid by setting the GridViewCommandColumn.SelectAllCheckboxMode property to AllPages.
As a workaround, explicitly set this property to Page in code:
C#using DevExpress.ExpressApp;
using DevExpress.ExpressApp.Web.Editors.ASPx;
using DevExpress.Web;
public class GridListViewController : ViewController<ListView> {
protected override void OnViewControlsCreated() {
base.OnViewControlsCreated();
var listEditor = View.Editor as ASPxGridListEditor;
if (listEditor != null && listEditor.Model.DataAccessMode == CollectionSourceDataAccessMode.Server) {
foreach (var column in listEditor.Grid.Columns) {
var commandColumn = column as GridViewCommandColumn;
if (commandColumn != null && commandColumn.ShowSelectCheckbox) {
commandColumn.SelectAllCheckboxMode = GridViewSelectAllCheckBoxMode.Page;
}
}
}
}
}