Is there any way by which we can apply validations on report parameter.
Like Start date should be less than End Date.
Length of a string type parameter should not be greater than 8.
2 Answers, 1 is accepted
answered on 24 Feb 2016, 05:32 PM
Please test the following approaches in the context of the Standalone Report Designer:
Use expressions (the built-in or custom functions) to check if the received report parameters values are valid.
If parameters are used in a data-retrieval method, add logic validating the received values before getting data;
When you use the Standalone Designer tool user functions and custom data objects can be loaded by extending the tool's configuration - Extending Report Designer.
Let us know if you have any further questions.
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Telerik Feedback Portal
and vote to affect the priority of the items
1) Add a text box to the report header section.
2) Give value as "Invalid date range."
2) Make the visible property false.
3) Go to 'binding' property in the property box.
4) Add bindings as follows
(i) Property :Visible
(ii) =iif(Parameters.dDateFrom.Value> Parameters.dDateTo.Value,true,false)
5) Click OK button