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

Could not load 'Telerik.Windows.controls.FixedDocumentViewers'

2 Answers 31 Views
PDFViewer
This is a migrated thread and some comments may be shown as answers.
Alaa
Top achievements
Rank 1
Alaa asked on 01 Jun 2014, 01:10 PM
Hi,

I'm working with WPF. I encapsulated RadPDFViewer inside ControlTemplate (I did that before for RadGauge and it works good), after I added all the required assemblies.
In the designer(user control) I can see the component as a gray rectangle but when I run the application it gives me error as u see in the attached file and it doesn't show me the component.
When I use RadPDFViewer not inside the ControlTemplate, in regular window it works fine.
 
Why only 'Telerik.Windows.controls.FixedDocumentViewers' can't be loaded (BTW all my assemblies) are the same version.

Thank you

2 Answers, 1 is accepted

Sort by
0
Kammen
Telerik team
answered on 02 Jun 2014, 08:10 AM
Hello,
We have tested your scenario and everything seems to work as expected.

Please, verify that you are referencing all required references. I am attaching you a sample project that represents this use case and is working well at our side.

I hope that this will help you solve this problem.

Regards,
Kammen
Telerik
 
Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
 
0
Alaa
Top achievements
Rank 1
answered on 02 Jun 2014, 11:12 AM
I solved it. It's huge solution so I have to add this assembly to the startup project.
Thanks a lot
Tags
PDFViewer
Asked by
Alaa
Top achievements
Rank 1
Answers by
Kammen
Telerik team
Alaa
Top achievements
Rank 1
Share this question
or