What version of the Telerik Reporting product do you use? Note that there was a similar bug in v.Q1 which has already been addressed.
The equals sign (=) in
front of the filtering expression is so that the value is interpreted as an expression, otherwise it is
considered as string value, and it might be the reason for the error you receive.
Make sure your filter looks like this:
And when you pass a value to the parameter, in the report parameters
dialog, you can use expression: =1234
It will be evaluated to number 1234.
And programmatically you can pass directly a number like this:
Another thing not clear is, if are you passing some value to the defined parameter, because if
you are not - this is the reason for the message you receive. When you
do not set an initial value or do not pass such value before the report rendering, the value of the parameter is evaluated to an empty string.
There are two ways to pass values to the parameters. The first one is to take
advantage of the automatically generated UI, and let the end users to populate
the parameters. The other is to set the value of the parameter programmatically
using the ReportParameters collection
of the report. More information how to setup and use the parameters you can
find in the help article Report Parameters.
I hope this information helps.
the Telerik team
Check out Telerik Trainer
, the state of the art learning tool for Telerik products.