Display html from database in richtextbox-followup
Messages   Related Types
This message was discovered on ASPFriends.com 'aspngrichtextbox' list.


L.Illya.Haynes@WellsFargo.COM
Thanks for the responses on my first question. The information stored in my
database is in html format. For example: <font color="red">this is
red</red>. If I use myRTB.text, it displays everything in the box,
including the html code, whereas I want to integrate the html code into the
richtextbox, so that only 'this is red'
displays in the box, formatted in red. Does that explain it better? Thanks
for your help!

Illya Haynes
Web Developer
Distribution Strategies Group
Phone 612/667-8812

Reply to this message...
 
    
Ollie Cornes

Hi Illya,

I don't think I've seen this before - that behaviour is *not* what you
should be seeing. If you pass the HTML example you gave into the Text
property on the RichTextBox, you should see red text appear on the page
and it should be editable.

Does the sample.aspx file included with the DLL work ok? Does this demo
work ok for you:
http://www.richtextbox.com/richtextbox/demos/1/

Can you email me (Click here to reveal e-mail address) a sample of the HTML you are
feeding into the control?

Ollie
--
http://www.richtextbox.com/
The no. 1 content editor for ASP.NET

[Original message clipped]

Reply to this message...
 
 
System.Windows.Forms.RichTextBox




Ad
MBR BootFX
Best-of-breed application framework for .NET projects, developed by Matthew Baxter-Reynolds and MBR IT
 
 Copyright © Matthew Baxter-Reynolds 2001-2008. '.NET 247 Software Development Services' is a trading style of MBR IT Solutions Ltd.
Contact Us - Terms of Use - Privacy Policy - www.dotnet247.com