开发者

Silverlight rich text box - copy and paste html

I am using silverlight rich text box for capturing description for certain entities. One of the requirement is that user should be able to copy data from web pages (Internet) and paste inside the rich text box.

Rich text box in Silverlight uses XAML to format the data and there is no built in feature to convert HTML to XAML.

Please let me know if there is any such utilit开发者_JS百科y/control. Thanks.


Here's a good place to start. The converter mentioned there is not bullet proof but for simple conversions it's not bad.

It's a WPF utility, but IIRC, there was a source code for it (can't access the site right now), and I don't think there should be too much trouble to convert it to Silverlight.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜