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

Validate expressions before runtime and evaluate expressions

1 Answer 95 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Chap
Top achievements
Rank 1
Chap asked on 19 Nov 2013, 01:16 PM
Hi Telerik team,

1. I need to validate expressions used in my report before report generation.
ex: = Parameters.Parameter1.Value / LineStyle.Solid, 

This expression gives me an error when generating report. I want to detect this very earlier stage. 

2. Is there any object type which keeps expression values or those expression evaluates in runtime? Can't I reuse expressions?

1 Answer, 1 is accepted

Sort by
0
KS
Top achievements
Rank 1
answered on 22 Nov 2013, 10:07 AM
Hi,

Expressions are evaluated during the processing (http://www.telerik.com/help/reporting/designing-reports-life-cycle.html). Use the developer functions to perform some checks on the parameters and the fields in the expression - http://www.telerik.com/help/reporting/expressions-functions.html

-KS
Tags
General Discussions
Asked by
Chap
Top achievements
Rank 1
Answers by
KS
Top achievements
Rank 1
Share this question
or