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

HtmlTextBox error - Name cannot begin with the '1' character, hexadecimal value 0x31

1 Answer 231 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Karl Wilkens
Top achievements
Rank 1
Karl Wilkens asked on 31 Jan 2011, 09:19 PM
Hi,

We are running into these errors when generating a report from HTML stored in sql server. If we use HttpUtility.HtmlEncode, that makes the error go away but then the report displays HTML such as paragraph tags, or broken a href links, left and right brackets becomd < etc.

Some of the records in the report have html which contains tables - we would like that to display as a table in the report. Any ideas on how to make that work? Thanks on both issues!

1 Answer, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 01 Feb 2011, 10:49 AM
Hi Karl,

The error looks like a parser error, that is why we highly recommend using the W3 validation to make sure the provided HTML is valid XHTML which is required by the HtmlTextBox. If it proves to be valid, please provide us with a sample one that replicates the issue and we would advise you further.

Kind regards,
Steve
the Telerik team
Get started with Telerik Reporting with numerous videos and detailed documentation.
Tags
General Discussions
Asked by
Karl Wilkens
Top achievements
Rank 1
Answers by
Steve
Telerik team
Share this question
or