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

HTMLEncode filter text

1 Answer 78 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Patrick
Top achievements
Rank 1
Patrick asked on 27 Sep 2015, 08:12 PM

Hello,

Please help me with applying Server.HTMLEncode to the text in the filter textbox prior to running the filter against the dataset.

Thanks!

1 Answer, 1 is accepted

Sort by
0
Eyup
Telerik team
answered on 01 Oct 2015, 05:49 AM
Hi Patrick,

You can use the ItemCommand event handler provided by RadGrid to change the filter value:
http://docs.telerik.com/devtools/aspnet-ajax/controls/grid/functionality/filtering/how-to/operate-with-the-filterexpression-manually

Hope this helps.

Regards,
Eyup
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
Grid
Asked by
Patrick
Top achievements
Rank 1
Answers by
Eyup
Telerik team
Share this question
or