Show rich text in reports

4 posts, 0 answers
  1. Sodi We
    Sodi We avatar
    160 posts
    Member since:
    Apr 2010

    Posted 22 Jun 2010 Link to this post

    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
  2. Mike
    Admin
    Mike avatar
    640 posts

    Posted 25 Jun 2010 Link to this post

    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
  3. DevCraft banner
  4. Sodi We
    Sodi We avatar
    160 posts
    Member since:
    Apr 2010

    Posted 15 Nov 2010 Link to this post

    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).
  5. Ivailo Karamanolev
    Admin
    Ivailo Karamanolev avatar
    276 posts

    Posted 16 Nov 2010 Link to this post

    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>>
Back to Top