Curly Braces Causing Errors

2 posts, 0 answers
  1. Donald McLean
    Donald McLean avatar
    20 posts
    Member since:
    May 2010

    Posted 11 Mar 2011 Link to this post

    I have a application which uses telerik reports to display data from a database. In one of the fields there have been curly braces {} used. This works fine in the application, however when the report attempts to use this data in a textbox I get "An error has occurred while processing Report 'TestReport': Error evaluating embedded expressions: Unexpected token inside an expression at index 12" does any one have idea on how to fix this short of replacing the curly braces when displaying in the report with regular brackets. I tried using an HTMLTextbox to see if it would handle it any better and it did not. Any help with this would be greatly appreciated.

  2. Stephan
    Stephan avatar
    12 posts

    Posted 16 Mar 2011 Link to this post

    Hello Donald McLean,

    When in TextBox/HtmlTextBox the reporting engine interprets the curly braces {} as embedded expression delimiter - that is the content inside is evaluated as Telerik Reporting expression. If you don't need embedded expressions you should escape the curly braces - {{ }}. For more information about Telerik Reporting's expressions please see Using Expressions.

    If this is not your case, please open an official support ticket and send us a sample report that illustrates the issue.

    All the best,
    the Telerik team
    Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
  3. DevCraft R3 2016 release webinar banner
Back to Top