I'm at a complete loss. I have a SL4 app that displays a page with one or more panels. Each panel contains different stuff. One panel will always be a chart, but it's the other panels that are problematic. Essentially, they represent user-entered text (including bullted lists), tables, or other info.
At first, I was thinking we could use the new RichTextBox
control, but the problem is that it's not *really* a RTF-compatible edit control, so we can't let the user create a RTF file (in MS Word, for example) and then copy its contents to the control. The RichTextBox
also doesn't have support for bulleted lists. A workaround to that is to create a web service that accepts the rtf, text, stuffs it into a FlowDocument
, and then spits back the appropriate XAML (because that's all the RichTextBox
displays), but that won't address the parts of RTF that the FlowDocument
doesn't support (which apparently has to be discovered on an as-used basis).
We even considered using XPS
documents, but the nature of the XPS
document is such that the user has to be cognizant of the page width/height, and more importantly, it also isn't really compatible with the fluidic nature of your typical web page/silverlight layout.
I also considered using PDF, but that requires a completely separate page to display, which breaks the multi-panel page container paradigm that I *MUST* maintain.
To make matters worse, I can't use/recommend any 3rd party controls that require "installation" (like Telerik, Infragistics, etc) because of the security/procurement restrictions of our customer.
Knowing all of that, can someone recommend any alternatives to what I've been dealing with?