This question is locked. New answers and comments are not allowed.
I'm using the RadRichTextBox control to edit data and save it as HTML in my database. I thought I would use the HTMLPlaceHolder to then display the data. The problem is that certain style elements do not render properly when using HtmlSource. I did discover that if I copy the HTML created by the RadRichTextBox and save it as an html page and then point the SourceUrl to that page that it will render correctly. I'm assuming this is a bug, or perhaps I don't have some mysterious property set correctly in my HtmlPlaceHolder. Below is an example of the HTML. Should I be using a different control other than RadRichTextBox to edit HTML?
Here's a bit more information I just noticed - it would seem that any style tags placed in the "<header>" tag are ignored, but if they are placed within the "<body>" tag, they are applied when using HtmlSource.
Here's a bit more information I just noticed - it would seem that any style tags placed in the "<header>" tag are ignored, but if they are placed within the "<body>" tag, they are applied when using HtmlSource.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><
html
xmlns
=
"http://www.w3.org/1999/xhtml"
><
head
><
meta
http-equiv
=
"Content-Type"
content
=
"text/html; charset=utf-8"
/><
title
>Untitled</
title
><
style
type
=
"text/css"
>
.p_2F83C0B6 { margin: 0px 0px 12px 0px;text-align: lefttext-indent: 0pt;padding: 0px 0px 0px 0px; }
.s_68843F73 { font-family: 'Verdana';font-style: Normal;font-weight: normal;font-size: 13.33px;color:
#000000;background-color: #FFFFFF; }
.s_F0A06747 { font-family: 'Verdana';font-style: Italic;font-weight: bold;font-size: 13.33px;color:
#FF0000;background-color: #FFFFFF; }
</
style
></
head
><
body
><
p
class
=
"p_2F83C0B6"
><
span
class
=
"s_68843F73"
>Testing </
span
><
span
class
=
"s_F0A06747"
>Red
Text</
span
><
span
class
=
"s_68843F73"
> normal text</
span
></
p
></
body
></
html
>