This is a migrated thread and some comments may be shown as answers.

RadGrid Filter Does Not Work With Special Characters

4 Answers 398 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Mayur
Top achievements
Rank 1
Mayur asked on 10 May 2014, 01:19 PM
I am using radgrid filter in which i am performing search operation,when i put text it filters the data but when i put text along with special characters for eg: building[ then filter does not work.


4 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 12 May 2014, 05:22 AM
Hi Mayur,

Please try setting EnableLinqExpressions="true"  for the grid and those characters will be taken into account as part of the filter value. If this doesn't help, provide your code snippet.

Thanks,
Shinu
0
Milena
Telerik team
answered on 14 May 2014, 08:29 AM
Hello Mayur,

RadGrid does have an IllegalStrings collection which contains the strings which if entered will prevent the grid from filtering. You can find more information on this matter here.

Regards,
Milena
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
Piyush
Top achievements
Rank 1
answered on 18 Mar 2015, 05:52 AM
Hi Shinu,

I too am having same problem, I tried with your suggestion but it is giving exception "An exception of type 'System.Data.SyntaxErrorException' occurred in System.Data.dll but was not handled in user code".
 
In Additional information "Syntax error: Missing operand after '["FirstName"]' operator." i am getting this exception.
Please help me how will i get solution i am new to this technology.
0
Milena
Telerik team
answered on 20 Mar 2015, 03:17 PM
Hello,

It is hard to determine the cause of the problem based on the provided information. Could you please provide sample project and steps for reproduce in order replicate the issue on our side?

Note, if you try to filter using Illegal characters, then the filtering will not be applied.
Illegal strings indicate which strings could not be entered as a part of the filtering value. Excluding values from the array will allow these values to be entered in the filtering value. However, it is not recommended because possible security vulnerabilities could arise.

Regards,
Milena
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
Grid
Asked by
Mayur
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Milena
Telerik team
Piyush
Top achievements
Rank 1
Share this question
or