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
close icon

filter expression - escape double quotes

when building expression, if data has double quotes as part of string content, the filter doesn't work. 

I tried escaping the double quotes but still doesn't seem to work.  no data shows up for the match/filter.  Any ideas how to handle double quotes as part of filter expression?
filter.Expression = String.Format("{0} = \"{1}\"", fieldName, items.First().Replace("\""\\\"));
Example: ProgramGroup = "I WANNA MARRY \"HARRY\""

1 Reply

VB Vigneshwaran B Syncfusion Team November 6, 2014 12:03 PM UTC

Hi Dan,

We would like to inform you that we have logged a defect report for the reported issue “Filtering is not working properly when the filter item contains parentheses” and will deliver the fix on 20 Nov 2014.

Please let us know if any concerns.


Vigneshwaran B

Live Chat Icon For mobile
Up arrow icon