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

2 posts, 0 answers
  1. Matt1234
    Matt1234 avatar
    13 posts
    Member since:
    Nov 2009

    Posted 18 Feb 2011 Link to this post

    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.
  2. Ivailo Karamanolev
    Ivailo Karamanolev avatar
    276 posts

    Posted 22 Feb 2011 Link to this post

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