HTML in Silverlight

I am making a silverlight interface for a discussion panel. The web interface of the boards allows you to use regular HTML tags, such as i, a, img, b, u. So now I need to show this in Silverlight. This: http://www.vectorlight.net/silverlight/controls/rich_textblock.aspx seemed exactly what I needed, except that it hardly displays everything correctly. Each HTML (I made sure it is valid with HTMLAgility) that I give it either makes the entire SL application white, or the block displays all the text on top of each other. Sometimes (with a few VERY simple lines), it will display correctly.

This is necessary for OOB to work both internally, and I cannot use the WebBrowser control, since I would need hundreds of instances at a time, and it slows down (I tried OOB).

Thanks.

+1
source share
2 answers

Have you tried this?

http://www.sharpgis.net/post/2010/09/15/Displaying-HTML-in-Silverlight.aspx

Perhaps he can better meet your needs.

+2
source share

Some others

http://www.isosoft.org/taoffi/post/Html-Content-Viewer-for-Silverlight.aspx http://blog.gfader.com/2010/05/silverlight-showing-html-content-inside.html http://www.divelements.co.uk/silverlight/tools.aspx

Component One and Telerik have silverlight html controls for the price. http://www.telerik.com/products/silverlight/htmlplaceholder.aspx http://www.componentone.com/SuperProducts/HtmlHostSilverlight/

+1
source share

All Articles