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

Report errors out if data contains character "{"

2 Answers 28 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Joshua Huang
Top achievements
Rank 1
Joshua Huang asked on 19 Sep 2011, 06:41 PM
We are using Telerik.Reporting control (version 4.2.10.1110 from 2010 Q3) in our Silverlight products. But there is a problem. If the data returned from SQL contains character "{" , the report will errors out. For examples, if the data is like "{TEST", the report will gray out with an error messag on top: The type "TEST" was not found. However if I remove character "{" from the data, the report works fine and shows TEST in the textbox correctly; and character "}" seems not causing any problems. Does anyone have the same issue and has this problem been fixed in the current version? Thanks.

2 Answers, 1 is accepted

Sort by
0
Accepted
Steve
Telerik team
answered on 20 Sep 2011, 01:45 PM
Hi Joshua,

This is expected as curly brackets ({ }) are used for embedded expressions and should be escaped with double brackets like this: {{ or }}. For more information refer to Embedded Expressions help article.

Best wishes,
Steve
the Telerik team

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

0
Joshua Huang
Top achievements
Rank 1
answered on 22 Sep 2011, 05:16 AM
Thanks Steve.
Tags
General Discussions
Asked by
Joshua Huang
Top achievements
Rank 1
Answers by
Steve
Telerik team
Joshua Huang
Top achievements
Rank 1
Share this question
or