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

filtering options for system.string column

2 Answers 24 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Dave
Top achievements
Rank 1
Dave asked on 10 Sep 2008, 06:16 PM
I am wondering why the following options are showing up in the FilterMenu for a column that I have defined as a system.string:

GreaterThan
LessThan
GreaterThanOrEqualTo
LessThanOrEqualTo

I don't understand why numeric filters are showing up on a column defined as a string.  Here is how the column is set up:

<telerik:GridBoundColumn DataField="request" HeaderText="Request" SortExpression="request" DataType="System.String" UniqueName="request" FilterListOptions="VaryByDataType"></telerik:GridBoundColumn>

2 Answers, 1 is accepted

Sort by
0
Accepted
Vlad
Telerik team
answered on 11 Sep 2008, 05:45 AM
Hello Dave,

You can use these to filter strings as well. For example "A" is less than "S".

Kind regards,
Vlad
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Dave
Top achievements
Rank 1
answered on 11 Sep 2008, 12:51 PM
Thanks for the clarification.  I'm just not used to seeing LessThan or GreaterThan with strings, but I guess it makes sense.  Thanks!
Tags
Grid
Asked by
Dave
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Dave
Top achievements
Rank 1
Share this question
or