void SubstituteFilter(object sender, DevExpress.Data.SubstituteFilterEventArgs e)
 {
     if (string.IsNullOrEmpty(ribbonControl.SearchControl.SearchText))
     {
         return;
     }
     e.Filter = new GroupOperator(GroupOperatorType.Or, e.Filter, GetDetailFilter(ribbonControl.SearchControl.SearchText));
 }
Exemplo n.º 2
0
 protected void Grid_SubstituteFilter(object sender, DevExpress.Data.SubstituteFilterEventArgs e)
 {
     e.Filter = CriteriaVisitor.Substitute(e.Filter);
 }