Reports display markup tags in report and export files.

2 posts, 0 answers
  1. Adrian Robert
    Adrian Robert avatar
    1 posts
    Member since:
    Mar 2016

    Posted 17 Mar Link to this post

    Hello everyone,

    I'm new to Telerik Reports and I'm experiencing some problems with some html tags.

    I'm using Kendo UI MVC controls to insert text into my database.

    My problems start when I generate the telerik reports as well as exporting them to pdf or excel.

    1) First problem, apparently the html tags are not render properly and I get markup tags into the report.

    2) Second problem, If I have a "newline" using bold or underline I get an error in the report and exported file.

    I've attached a small print screen from the exported pdf. 


    Thank you.



  2. Katia
    Katia avatar
    241 posts

    Posted 22 Mar Link to this post

    Hi Adrian,

    For other community members interested in this topic we publish below the reply from the ticket that you opened on the same question:

    1. Please make sure that you place Html-formatted text into HtmlTextBox item. Otherwise, the markup will not be rendered.
    Also, please note that  <br> tag is an empty tag which means that it has no end tag. Thus, to insert a line break you should use <br> markup.

    2. The error on the screenshot indicates that there is a mismatch between opening and closing tags in your markup. Please check if the tags are valid (you can use Html validator for this purpose).

    Please see attached a sample report demonstrating the usage of <br> tag.

    We would also recommend reviewing the limitations of HtmlTextBox item described in HtmlTextBox/Known Limitations, Supported HTML tags and Supported CSS attributes.

    In case, you need additional clarifications let us continue the discussion in one of the threads to keep a better track of the exchanged information.

    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
  3. DevCraft R3 2016 release webinar banner
Back to Top