Back to Devexpress

ASPxGridBase.DataSourceForceStandardPaging Property

aspnet-devexpress-dot-web-dot-aspxgridbase-fa5d2d10.md

latest2.3 KB
Original Source

ASPxGridBase.DataSourceForceStandardPaging Property

Specifies whether standard data source paging is used.

Namespace : DevExpress.Web

Assembly : DevExpress.Web.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

csharp
[DefaultValue(false)]
public bool DataSourceForceStandardPaging { get; set; }
vb
<DefaultValue(False)>
Public Property DataSourceForceStandardPaging As Boolean

Property Value

TypeDefaultDescription
Booleanfalse

true to use standard data source paging; false to use grid data paging.

|

Remarks

The grid uses its own data paging mechanism that retrieves all records from the bound data source. If the grid is bound to a large dataset, this mechanism can slow down the web site’s performance. In this case, use the grid’s database server mode.

Alternatively, if your database is of the ObjectDataSource type, you can set the DataSourceForceStandardPaging property to true to enable standard data source paging. However, in this case, our advanced paging capabilities are turned off and the following grid features are not supported: summary calculation, data grouping, data filtering, unbound data (unbound columns), compound (complex) properties, endless paging mode, conditional formatting.

See Also

Card View Database Server Mode

Grid View Database Server Mode

Vertical Grid Database Server Mode

ASPxGridBase Class

ASPxGridBase Members

DevExpress.Web Namespace