Telerik.Windows.Documents without RichTextBox

Thread is closed for posting
3 posts, 1 answers
  1. Justin Lee
    Justin Lee avatar
    149 posts
    Member since:
    Dec 2009

    Posted 17 Oct 2011 Link to this post

    I would like to use the RadDocument class to export some data to pdf as seen in this example:  http://demos.telerik.com/silverlight/#Chart/PrintAndExportWithRadDocument

    My application is simple, and does not contain a RichTextBox.  However to export, you have to add the Telerik.Windows.Documents assembly.  This assembly is 0.7 MB compressed, and I would like to reduce the size if possible, since I am not using the RichTextBox.  I tried using the Assembly minifier and unchecking RichTextBox, but the resulting dll does not contain the Model namespace or the RadDocument class.  Is there a way to reduce the size of this assembly?  (XAP minifier is not an option because of automated builds)  If not, is there another way to export content (a chart + a grid) to one file?   I really don't want to add 0.7 MB to my xap just for exporting. (it is already 2 MB in size)

    Thanks,
    Justin
  2. Answer
    Miro Miroslavov
    Admin
    Miro Miroslavov avatar
    588 posts

    Posted 20 Oct 2011 Link to this post

    Hello Justin Lee,

     Unfortunately, it's not possible to minify the Documents' assemblies. It's known problem, but I've added new work item for it, so it will be fixed soon. You can vote for it and track it's progress here.
    Sorry for any inconvenience. 

    Greetings,
    Miro Miroslavov
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  3. DevCraft banner
  4. Justin Lee
    Justin Lee avatar
    149 posts
    Member since:
    Dec 2009

    Posted 20 Oct 2011 Link to this post

    Ok, that works for me. Thanks for the response.

    Justin
Back to Top