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. (Last updated on : November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

filter expression - escape double quotes

Thread ID:

Created:

Updated:

Platform:

Replies:

117542 Nov 5,2014 03:51 PM UTC Nov 6,2014 12:03 PM UTC WPF 1
loading
Tags: PivotGridControl
Dan Soltesz
Asked On November 5, 2014 03:51 PM UTC

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\""

Vigneshwaran B [Syncfusion]
Replied On 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.

Thanks,

Vigneshwaran B


CONFIRMATION

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.

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

;