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

DataFilter operations

4 Answers 64 Views
DataFilter
This is a migrated thread and some comments may be shown as answers.
Pavel
Top achievements
Rank 1
Pavel asked on 15 Jan 2013, 11:01 AM
Hi,
how can i add all types of operations (Less than, Is greater then, etc.) for type of string?

4 Answers, 1 is accepted

Sort by
0
Dimitrina
Telerik team
answered on 15 Jan 2013, 11:50 AM
Hello,

Actually those operators are not applicable for type String. They can be used for values that can be compared through the ">", ">=", "<" and "<=" operations.

Kind regards,
Didie
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
Pavel
Top achievements
Rank 1
answered on 15 Jan 2013, 11:56 AM
Ok, but what if i have custom combobox with strings in right part? But type of left part is for ex. integer. 
Selected value of combobox does not saves because of internal error (can't cast string to int)
0
Dimitrina
Telerik team
answered on 15 Jan 2013, 12:50 PM
Hi,

I am not sure how have you done your implementation so that to filter with the combobox, have you used approach similar to the one described in this help article?

Kind regards,
Didie
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
Pavel
Top achievements
Rank 1
answered on 15 Jan 2013, 02:21 PM
Exactly that aproach. 
Left part is type of int,
but in right part i've got enumeration of strings.
To build expression to compare two proerties of objects.
Tags
DataFilter
Asked by
Pavel
Top achievements
Rank 1
Answers by
Dimitrina
Telerik team
Pavel
Top achievements
Rank 1
Share this question
or