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

RichTextBox formatting messed up when exporting to XPS form ASP.NET

1 Answer 83 Views
RichTextBox
This is a migrated thread and some comments may be shown as answers.
Matt1234
Top achievements
Rank 1
Matt1234 asked on 18 Feb 2011, 08:23 PM
Hello, 
I'm trying to use the WPF RichTextBox to integrate RadDocument content (which was entered in a Silverlight RichTextBox) into a FlowDocument and export it to XPS.
The XPS looks just fine when I print / export it from a WPF application, but when I export it form ASP.NET the whole formatting of the text in the RadDocument gets all messed up.

I added the details as a word document, you can look at it here: Richtextbox Format Problem

 Now, here are my questions:
  1. Is there any way to make this work (using RichTextBox from an ASP.NET app / WCF service? I’m also open to alternative ways of integrating the RichtextBox content into my FlowDocument.
  2.  I think you should really work on a pagination enabled solution which makes it easy to integrate the content of a richtextbox into a larger FlowDocument, because I don’t think I’m the only one who has the problem of having to integrate Richtext into a form – in fact I think it’s a perfect use case for this kind of control, but there has to be a practical way to print the rich text in context with the rest of the data from the entry form.
  3.  If there’s no way to integrate the rich text stuff right now (and I mean a better way than integrating the richtextbox, I need something that can paginate), will there be a solution in the Q1 2011 release? Otherwise I need to look for alternatives to make my deadline.

1 Answer, 1 is accepted

Sort by
0
Ivailo Karamanolev
Telerik team
answered on 22 Feb 2011, 04:18 PM
Hello Matt1234,

I think we covered the issues pretty well on your other forum post, here.
Let us know if you feel that anything is unanswered and we'll be happy to add additional information to what we already addressed.

Best wishes,
Ivailo
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
Tags
RichTextBox
Asked by
Matt1234
Top achievements
Rank 1
Answers by
Ivailo Karamanolev
Telerik team
Share this question
or