Thanks for the various responses. The Telerik control - I couldn't see that it supported RTF. Its funny because there's lots of RichTextbox controls out there but very few actually support RTF (most have their own versions of WPF's FlowDocument instead).
I suspect these issues are because different companies have different implementations of the specification. Plus the specification has many versions. Plus some writers/readers may be more tolerant to invalid control codes, while others are more strict. What the world needs is an RTF validator where you can post your RTF. I didn't know Silverlight supported XPS, I'll investigate that option. Thanks for the sample Carl, I actually need RTF though, including image data which is embedded in the RTF as binary. Pretty much fill RTF support in SL is required. Tried the ComponentOne control as well - didn't seem to support tables properly either. This seems to be a common problem. Thanks again all. Steven Nagy Readify | Senior Developer M: +61 404 044 513 | E: [email protected]<sip:[email protected]> | B: azure.snagy.name<http://azure.snagy.name/> From: [email protected] [mailto:[email protected]] On Behalf Of jason schluter Sent: Saturday, 15 May 2010 1:02 AM To: [email protected] Subject: RE: RTF in silverlight Perhaps you can convert it to XPS? ________________________________ From: [email protected] To: [email protected] Date: Thu, 13 May 2010 16:31:31 -0700 Subject: RTF in silverlight Hi all, I've got the a bunch of RTF coming from a service call that needs to render. I have two options: Find a control that can render RTF or convert the RTF to something else on the server side that can be rendered natively. For option 1, it seems the new SL4 RichTextbox doesn't support RTF (unless I've missed the mechanism for importing RTF text into the control?). I've trialed the DevExpress tool but it fails to render RTF with tables. I'm currently pulling down the ComponentOne RichTextbox to see if it does any better. I've also tried option 2 - using a WPF rich textbox (in memory only) to load the RTF and then push out various output formats. It supports output to XAML but of course the XAML is not compliant with Silverlight. I have my fingers crossed for the component one control but I'm not hopeful. I was wondering if anyone had any other suggestions on how to approach this and if anyone has found a good RTF control for silverlight. Client side is SL4 and server side is .Net 4.0. Cheers, Steven Nagy Readify | Senior Developer M: +61 404 044 513 | E: [email protected]<mailto:[email protected]> | B: azure.snagy.name<http://azure.snagy.name/>
_______________________________________________ ozsilverlight mailing list [email protected] http://prdlxvm0001.codify.net/mailman/listinfo/ozsilverlight
