开发者

HTML in Silverlight

I am making a silverlight interface for a discussion board. The boards web interface allows the usual HTML tags like i,a,img,b,u. So now I need to be able to display that in Silverlight. This: http://www.vectorlight.net/silverlight/controls/rich_开发者_JS百科textblock.aspx seemed like exactly what I need except that it hardly displays anything right. Every HTML(i've made sure it's valid with HTMLAgility) string I give it either makes the whole SL app go white, or the block displays all the text on top of each other. Occasionally(with a few VERY simply strings), it will display right.

This needs to work OOB and in, and I cannot use the WebBrowser control as I would need hundreds of instances at a time and it gets slow(tried it OOB).

Thanks.


Have you tried this one?

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

Maybe it can serve your needs better.


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 both have silverlight html controls at a cost. http://www.telerik.com/products/silverlight/htmlplaceholder.aspx http://www.componentone.com/SuperProducts/HtmlHostSilverlight/

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜