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

FilterOperator.NotLike errors

1 Answer 77 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Paul
Top achievements
Rank 1
Paul asked on 02 Aug 2011, 11:19 AM
Hi,
    when using the FilterOperator.NotLike the following error appears: Specified argument was out of the range of valid values. Parameter name: NotLike

this.Filters.Add("=Fields.title", Telerik.Reporting.Data.FilterOperator.NotLike, "%test%");

if I change the operator to like it does work
this.Filters.Add("=Fields.title", Telerik.Reporting.Data.FilterOperator.Like, "%test%")

It does not matter what i put in as the value for NotLike I get that error. If I put an empty string in as the value then I do not get an error and all results show as expected.
Is this a bug with NotLike or am I doing something wrong?
Thanks

1 Answer, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 04 Aug 2011, 04:45 PM
Hello Paul,

Thanks for bringing this to our attention. Indeed this is a bug and we would fix it for the next version of the product.

Sorry for the temporary inconvenience. Your Telerik points have been updated as a token of gratitude for pointing this out.

Best wishes,
Steve
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>

Tags
General Discussions
Asked by
Paul
Top achievements
Rank 1
Answers by
Steve
Telerik team
Share this question
or