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

export to pdf

5 Answers 35 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Tamara
Top achievements
Rank 1
Tamara asked on 11 Sep 2012, 11:11 AM
Hi!

I need explanation on how to export ui to pdf file in silverlight.
In example from the internt that I have tried I had a exception in the line of RadDocument document = new RadDocument();
and the error that was showen is : "Could not load file or assembly..".

Best Regards,
Tamara.

5 Answers, 1 is accepted

Sort by
0
Dimitrina
Telerik team
answered on 11 Sep 2012, 11:17 AM
Hello Tamara,

 Have you referenced all the assemblies you need in order to use the RadDocument? What is the full message of the error?

Greetings,
Didie
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
Tamara
Top achievements
Rank 1
answered on 11 Sep 2012, 11:42 AM
I'm not sure, I used for it the telerik.windows.documents.model, which other usings should i refer?
and the full error is:
"Could not load file or assembly 'system.windows.Data, version=2.0.5.0, culture=neutral, PublicKeyToken=31bf3856ad364e35'
or one of its dependencies"
0
Dimitrina
Telerik team
answered on 11 Sep 2012, 11:46 AM
Hi,

 It seems that you are missing a reference to the 'System.windows.Data'.

All the best,
Didie
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
Tamara
Top achievements
Rank 1
answered on 11 Sep 2012, 11:58 AM
Hi,

I added this reference and it still has this exception with the same error.
Can it be other assembly ref. that brings the same error?

Best Regards,
Tamara.

0
Tamara
Top achievements
Rank 1
answered on 11 Sep 2012, 12:44 PM
I finally Cleared the reference and added it again and the problem solved.

thank you for the help,
Tamara.
Tags
General Discussions
Asked by
Tamara
Top achievements
Rank 1
Answers by
Dimitrina
Telerik team
Tamara
Top achievements
Rank 1
Share this question
or