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

Htmltextbox error

1 Answer 72 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
roamer
Top achievements
Rank 1
roamer asked on 22 Aug 2012, 03:35 PM

An error has occured while prosessing html textbox 'htmltextbox1':
The 'U' start tag on line 1 position 36 does not match the end tag of of 'B' line 1, position 55.


This is the html (that is is a db btw)
<HTML><HEAD></HEAD><BODY><B><U>TEST HTML<BR></B>Test<BR><BR><B></U>test<BR><BR></BODY></HTML>

Any help would be appreciated. The latest build I have available to me is Q1 2012

Update: this happens with the latest version as well as I downloaded the demo and tested.

Thanks

1 Answer, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 27 Aug 2012, 02:21 PM
Hi roamer,

The value of the HtmlTextBox must be valid XHTML and the one you're providing is not. You can check it for validity at http://validator.w3.org/check.

On a side note, it is not correct to provide complete html pages to the HtmlTextBox as it only supports limited number of HTML tags and css attributes, and its main goal is to work with text formatting options only. For more info refer to the HtmlTextBox help article.

Kind regards,
Steve
the Telerik team

BLOGGERS WANTED! Write a review about Telerik Reporting or the new Report Designer, post it on your blog and get a complimentary license for Telerik Reporting. We’ll even promote your blog and help bring you a few fresh readers. Yes, it’s that simple. And it’s free. Get started today >

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