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

HTML Textbox displaying markup tags

3 Answers 96 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
andy
Top achievements
Rank 1
andy asked on 16 Jan 2013, 12:18 AM
Hi All,
I am new to Telerik Reporting so excuse me if this is a newbie question.
I have searched the forums and it seems that the html textbox will render simple html.  However, when I try and use this control I get all the markup tags mixed with the text.  Is there some trick to getting it to work?
Thanks
Andy

3 Answers, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 16 Jan 2013, 11:34 AM
Hi Andy,

The HtmlTextBox works with text formatting options only. You can see the supported html tags and css attributes in the HtmlTextBox help article. The value of the HtmlTextBox must always be valid XHTML, if it is not, the end result is unexpected.

All the best,
Steve
the Telerik team

HAPPY WITH REPORTING? Do you feel that it is fantastic? Or easy to use? Or better than Crystal Reports? Tell the world, and help fellow developers! Write a short review about Telerik Reporting and Telerik Report Designer in Visual Studio Gallery today!

0
andy
Top achievements
Rank 1
answered on 16 Jan 2013, 05:16 PM
Thanks for your response, but I would like to know what I need to do to get the html textbox to display correctly.
I have used the MVC editor to store information in the database but when I pull it into the report using the html textbox it displays the markup tags as text.  What do I need to do to see the html formatting instead of the tags as text?
Andy
0
Steve
Telerik team
answered on 17 Jan 2013, 02:39 PM
Hello Andy,

You have not answered our questions, namely:
  • Is the html that you set as value for the HtmlTextBox a valid XHTML?
  • Are the html tags you're trying to display supported by the HtmlTextBox?

Please answer those questions and if you're still having problems, please provide a short excerpt of the html that errors out.

All the best,
Steve
the Telerik team

HAPPY WITH REPORTING? Do you feel that it is fantastic? Or easy to use? Or better than Crystal Reports? Tell the world, and help fellow developers! Write a short review about Telerik Reporting and Telerik Report Designer in Visual Studio Gallery today!

Tags
General Discussions
Asked by
andy
Top achievements
Rank 1
Answers by
Steve
Telerik team
andy
Top achievements
Rank 1
Share this question
or