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

problem with Default UI

1 Answer 40 Views
PDFViewer
This is a migrated thread and some comments may be shown as answers.
smr
Top achievements
Rank 1
smr asked on 29 Nov 2019, 09:20 AM

hi

i got this error "Object reference not set to an instance of an object." when i use "Example 1: Default UI" from https://docs.telerik.com/devtools/wpf/controls/radpdfviewer/default-ui

i find errors in this lines:

 telerik:RadPdfViewerAttachedComponents.RegisterSignSignatureDialog="True" telerik:RadPdfViewerAttachedComponents.RegisterFindDialog="True" telerik:RadPdfViewerAttachedComponents.RegisterSignaturePropertiesDialog="True" telerik:RadPdfViewerAttachedComponents.RegisterContextMenu="True"

 

but this lines hasn't problem in example for radviewer firstlook

1 Answer, 1 is accepted

Sort by
0
Tanya
Telerik team
answered on 02 Dec 2019, 12:59 PM

Hello,

Could you please verify that all the required references are added to the project and the telerik namespace is defined?

xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"

In case this is not helpful, would you please share more details about the setup of the project you are using so we can try to find what exactly is causing you issues?

Regards,
Tanya
Progress Telerik

Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
PDFViewer
Asked by
smr
Top achievements
Rank 1
Answers by
Tanya
Telerik team
Share this question
or