Skip to main content
A newer version of this page is available.

WebPrefilter.CriteriaString Property

Gets or sets the Prefilter‘s filter string.

Namespace: DevExpress.Web.ASPxPivotGrid.Data

Assembly: DevExpress.Web.ASPxPivotGrid.v20.2.dll


public string CriteriaString { get; set; }

Property Value

Type Default Description


A String value that specifies the Prefilter‘s filter string.


The Prefilter‘s expression can also be specified via the WebPrefilter.Criteria property.

protected void Page_Load(object sender, EventArgs e) {
  if (!IsPostBack && !IsCallback)
    //ASPxPivotGrid1.Prefilter.Criteria =
    // CriteriaOperator.Parse("fieldOrderYear = 1995 AND fieldOrderQuarter between (2, 4)");
    ASPxPivotGrid1.Prefilter.CriteriaString =
        "fieldOrderYear = 1995 AND fieldOrderQuarter between (2, 4)";
See Also