We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Conditional Formatting expression w logical operators bugged?

Thread ID:





145412 Jun 20,2019 10:00 AM UTC Jun 24,2019 09:57 AM UTC ASP.NET Web Forms (Classic) 1
Tags: GridGroupingControl
Ivan Crv
Asked On June 20, 2019 10:00 AM UTC

Here is scenario:
Data source consists of n columns.
GGC consists of n-2 visible columns(subset). The two remaining columns represent condition by which all text in the row is bold by forming logical and (conjunction) expression.
It seem as example at https://help.syncfusion.com/aspnet-classic/grid/look-and-feel Conditional Formatting with logical operators.

GridConditionalFormatDescriptor gcfd1 = new GridConditionalFormatDescriptor();

gcfd1.Name = "Criteria1";

gcfd1.Expression = "[n]=2 && [n-1]=0";     // This is expression too and it does not work.

gcfd1.Expression = "[n]=2"              // This works.
gcfd1.Expression = "[n-1]=0"              // This works.

GridGroupingControl1.TableDescriptor.ConditionalFormats.Add(gcfd1); // DOES THIS BY ADDING EXPRESSIONS SIMULATES LOGICAL AND?

All in all I find documentation very very lacking and I have to rely on debugger (btw. VS debugger is nothing to write home about) and trial-and-error  to get things done.

Pavithra Subramaniyam [Syncfusion]
Replied On June 24, 2019 09:57 AM UTC

Hi Ivan, 
Thanks for contacting Syncfusion support. 
We have validated your query and found that the provided regular expression is invalid which is the cause of reported behavior. Please refer to the below reference link for more information. 
And we would like to let you know that this suite of ASP.NET controls which was offered as “Essential Studio for ASP.NET ” till the Volumes 1 2019 release has been marked as “Classic” and the newer set of controls powered by Essential JavaScript 1 and Essential JavaScript 2(ASP.NET with ES5) takes its place. The newer version provides several advantages over the classic edition including being purely client side rendered HTML5/JavaScript controls ,offers better performance and provides better support for touch interactivity.  
The newer version includes all the features that the classic version had so it should be easy to migrate if requires. The general guideline is that if you are using the classic edition of controls in existing products then you can continue to use them. However if you are starting a new project then it is recommended that you use the newer alternative available. Syncfusion will continue to maintain the support classic version of controls for several more years. We will also be happy to provide any required assistance in migrating from the classic edition. 
Pavithra S. 


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon