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

Height binding expression doesn't work

2 Answers 130 Views
Report Designer (standalone)
This is a migrated thread and some comments may be shown as answers.
Raymond
Top achievements
Rank 1
Raymond asked on 19 Jan 2017, 10:12 AM

I have a binding expression for the Height property of a Picturebox. The height depends on a boolean value.

=IIF(Fields.LiftVanesUsed,"0,9cm","1,2cm")

The height of the picturebox becomes around 10 times larger than the height that is provided in the expression.

How to return the height from an expression?

 

2 Answers, 1 is accepted

Sort by
0
Raymond
Top achievements
Rank 1
answered on 19 Jan 2017, 10:21 AM

Found the solution already. It appears that the expression is evaluated with the '.' character as decimal seperator. While in the designer in the property box the ', ' character is used as decimal seperator. 

 

When replacing the ',' for '.' i works.

0
Stef
Telerik team
answered on 19 Jan 2017, 02:24 PM
Hi Raymond,

There is a change as of R3 2016 - R3 2016 upgrade Path. You need a dot as a decimal separator, and a comma to separate each value. We consider extending functions like Format text function to accept culture.

Regards,
Stef
Telerik by Progress
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? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
Report Designer (standalone)
Asked by
Raymond
Top achievements
Rank 1
Answers by
Raymond
Top achievements
Rank 1
Stef
Telerik team
Share this question
or