The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
I''m trying to use the IsExpressionValid() method on the ExpressionFieldEvaluator class to determine if an expression string is valid. But this method returns false for every string I validate - even strings that I think are correct.
I modified the "Syncfusion\Essential Studio\4.1.0.10\Windows\Grid.Grouping.Windows\Samples\GridGroupingTutorial\Project3" sample to use the ExpressionFieldEvaluator as follows:
ExpressionFieldEvaluator expEvaluator = new ExpressionFieldEvaluator(this.gridGroupingControl1.TableDescriptor);
string errorStr;
bool validExpression = expEvaluator.IsExpressionValid(this.expDesc.Name, this.expDesc.Expression, out errorStr);
NOTE: I put this code in the constructor after InitializeComponent(). this.expDesc is the "PercentWins" expression field - I simply made a variable for it so I can get access to it.
Is there something wrong with the way I''m using the ExpressionFieldEvaluator, or is this a bug?
thanks,
Heath