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

Telerik.Windows.Documents without RichTextBox

2 Answers 71 Views
Telerik Minifier
This is a migrated thread and some comments may be shown as answers.
Justin Lee
Top achievements
Rank 1
Justin Lee asked on 17 Oct 2011, 05:14 PM
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 Answers, 1 is accepted

Sort by
0
Accepted
Miro Miroslavov
Telerik team
answered on 20 Oct 2011, 04:07 PM
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 >>

0
Justin Lee
Top achievements
Rank 1
answered on 20 Oct 2011, 05:41 PM
Ok, that works for me. Thanks for the response.

Justin
Tags
Telerik Minifier
Asked by
Justin Lee
Top achievements
Rank 1
Answers by
Miro Miroslavov
Telerik team
Justin Lee
Top achievements
Rank 1
Share this question
or