I have a richtextbox in Silverlight and I save the content as xaml in the database.
When I use it, I convert the filed to html and use it in Telerik reporting as a htmltextbox.
The problem is when using WriteEndElement it create the endtag as />, If there is no content.
When I binding the htmlfield to htmltextbox, it ignore the endtags and it creates the endtags last in the text.
Below, see the content of the htmltextbox. It ignore the red text, entags, and I missed the text “Head”.
Is this a fault?
<div><p STYLE="font-size:12;font-family:Verdana;color:#000000;font-weight:normal;font-style:normal;text-align:Left;"><span STYLE="font-size:14;font-weight:bold;">Head</span></p><p STYLE="font-size:12;font-family:Verdana;color:#000000;font-weight:normal;font-style:normal;text-align:Left;"><span STYLE="font-weight:bold;" /></p><p STYLE="font-size:12;font-family:Verdana;color:#000000;font-weight:normal;font-style:normal;text-align:Left;"><span STYLE="font-weight:normal;">Hello.</span></p><p STYLE="font-size:12;font-family:Verdana;color:#000000;font-weight:normal;font-style:normal;text-align:Left;"><span STYLE="font-weight:normal;" /></p><p STYLE="font-size:12;font-family:Verdana;color:#000000;font-weight:normal;font-style:normal;text-align:Left;"><span STYLE="font-weight:normal;">Hello two.</span></p></div>
I also have another question. Will it come a RichTextBox in Telerik reporting?
/Fredrik