This is a migrated thread and some comments may be shown as answers.

[Solved] Show rich text in reports

3 Answers 183 Views
RichTextBox
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Licenses
Top achievements
Rank 1
Licenses asked on 22 Jun 2010, 12:25 PM
Hello,

In brief, I want to display the rich text created with your RichTextBox in a report (Telerik Reporting).

I did some research and I assume the best way to do this would be to use a HtmlTextBox in the report and then somehow convert the xaml code created by the RichTextBox to Html. This is currently not supported, but I have noticed that export to Html will be a feature in the upcoming Q2 Release of the Silverlight controls.

However, this code resides in a Silverlight dll, which makes it quite hard to use this on the server-side, since the dll depends on other client dlls (like System.Xml). Is there an easier server-side alternative (maybe within the WPF controls or so), to convert the RichTextBox xaml to Html? Or do you have any other suggestions to display the rich text in a report?

Thanks in advance,
Sodi

3 Answers, 1 is accepted

Sort by
0
Mike
Telerik team
answered on 25 Jun 2010, 11:42 AM
Hi Sodi We,

We have plans to extract the various FormatProviders (DOCX, HTML) in separate assemblies to enable scenarios similar to the one you describe. Hopefully this will be available in Q2. However we are still not able to give you any details about integrating these format-providers with non-silverlight applications. We have this functionality in our to-do list though and we will be adding it right after Q2 release. Let us if we can help further with this or if you have any thoughts on how this functionality should work.

Regards,
Mike
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Licenses
Top achievements
Rank 1
answered on 15 Nov 2010, 03:26 PM
Hello,

Is it possible in the Q3 release to use the import/export functionality from a server project?

The furthest I've gotten in the Q2 release was to:
- Create a silverlight project containing some methods to call the import/export from the different DocumentFormatProviders
- Set the property "Copy Local" for the references System.Windows and System.Net to true
- Copy the System.Xml Slverlight dll manually to the bin folder of the host project
=> Calling the Import/Export methods throws a System.UnauthorizedAccessException (because the thread differs from the UI thread).
0
Ivailo Karamanolev
Telerik team
answered on 16 Nov 2010, 09:00 AM
Hi Sodi We,

Can you please open a support ticket about this matter so we can continue our conversation.

All the best,
Ivailo
the Telerik team
See What's New in RadControls for Silverlight in Q3 2010 on Tuesday, November 16, 2010 11:00 AM - 12:00 PM EST or 10:00 PM - 11:00 PM EST: Register here>>
Tags
RichTextBox
Asked by
Licenses
Top achievements
Rank 1
Answers by
Mike
Telerik team
Licenses
Top achievements
Rank 1
Ivailo Karamanolev
Telerik team
Share this question
or