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

[Solved] Allow filter on Column GridNumericColumn with special characters

1 Answer 250 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Fernando
Top achievements
Rank 1
Fernando asked on 15 Mar 2013, 01:22 PM
I'm doing a personalized filter, that allow the use of specials characters. How for example ">1"  = "greater that one", this can be done in any column, of any type, numeric, date, string, etc.

But at the that i could perceive, the column filter GridNumericColumn not allow non-numeric characters.

I wonder if there is any way to make the filter a column of type GridNumericColumn allow the entry of some special characters.

This is possible?

Thank you.

Fernando Leal

1 Answer, 1 is accepted

Sort by
0
Angel Petrov
Telerik team
answered on 20 Mar 2013, 11:15 AM
Hi Fernando,

Currently there is no way of achieving the desired functionality for two reasons:
  1. The filter text box is actually a RadNumericText box and it does not allow non-numeric values.
  2. The gird escapes the special character for security reasons. More information on this subject you can find in this forum thread.

You can replace the filter text box with a RadTextBox and exclude the special character from the IllegalStrings collection but that will cause a security vulnerability and is not recommended.

All the best,
Angel Petrov
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
Grid
Asked by
Fernando
Top achievements
Rank 1
Answers by
Angel Petrov
Telerik team
Share this question
or