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

[Solved] Rad grid filter issue

1 Answer 103 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Amit
Top achievements
Rank 1
Amit asked on 02 Nov 2009, 05:02 AM
Hi,

i have used rad grid with filtering in our project.
This implementation works perfectly except in below mentioned scenerio:
We want filters to implement like queries on grid.
So we have set query as :
([<column value>] like '% <Filter value> %')

But this scenerio does not work when single quote comes in filter value.
It seems we might need to compare encoded values, but i am not to sure how to achieve this as syntax is sql like and i relaly doubt that wheather HtmlEncoding will work in this scenerio?

1 Answer, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 02 Nov 2009, 05:43 AM
Hi,

I beleve the RadGrid doesnot currently support  filtering with quotes. Please check the link below
http://www.telerik.com/community/forums/aspnet-ajax/grid/filter-data-with-double-quotes.aspx

Thanks,
Princy
Tags
Grid
Asked by
Amit
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Share this question
or