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

RadPDFViewer Crashes IDE during design time

2 Answers 103 Views
PDFViewer
This is a migrated thread and some comments may be shown as answers.
James
Top achievements
Rank 1
James asked on 21 May 2012, 08:04 PM

VS 2010 Pro (ver 4.0.3019 SP1Rel) crashes when I add the attribute DocumentSource="" to the XAML.

My steps are as follows:
  1. Create new Telerik > Windows > C# RadControls WPF Application (>net 3.5 or 4.0)
  2. Choose Telerik.Windows.Controls.FixedDocumentViewers
  3. Auto-Selects Telerik.Windows.Controls
  4. Auto-Selects Telerik.Windows.Documents.Fixed
  5. Click Finish
  6. Add <telerik:RadPdfViewer HorizontalAlignment="Stretch" VerticalAlignment="Stretch"></telerik:RadPdfViewer> to Window XAML

Then, as step 7, as soon as I add the attribute DocumentSource="", the ide crashes and restarts.  It can simply be empty quotes or I can add a reference to a pdf added as a resource, it doesn't matter.  As soon as the second quotation mark is added and the designer tries to update, it crashes.

Hope you can help!!!

UPDATE:

If I try to assign the DocumentSource in the codebehind, I get the error:

Locating source for 'c:\TB\105\WPF_Scrum\Release_WPF\Sources\Development\Documents\Fixed\FixedDocumentViewers\UI\RadPdfViewer.cs'. Checksum: MD5 {9 32 c2 2f 18 c8 80 10 92 4e 2 a0 df da f3 e2}
The file 'c:\TB\105\WPF_Scrum\Release_WPF\Sources\Development\Documents\Fixed\FixedDocumentViewers\UI\RadPdfViewer.cs' does not exist.
Looking in script documents for 'c:\TB\105\WPF_Scrum\Release_WPF\Sources\Development\Documents\Fixed\FixedDocumentViewers\UI\RadPdfViewer.cs'...
Looking in the projects for 'c:\TB\105\WPF_Scrum\Release_WPF\Sources\Development\Documents\Fixed\FixedDocumentViewers\UI\RadPdfViewer.cs'.
The file was not found in a project.
Looking in directory 'C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\crt\src\'...
Looking in directory 'C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\atlmfc\src\mfc\'...
Looking in directory 'C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\atlmfc\src\atl\'...
Looking in directory 'C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\atlmfc\include\'...
The debug source files settings for the active solution indicate that the debugger will not ask the user to find the file: c:\TB\105\WPF_Scrum\Release_WPF\Sources\Development\Documents\Fixed\FixedDocumentViewers\UI\RadPdfViewer.cs.
The debugger could not locate the source file 'c:\TB\105\WPF_Scrum\Release_WPF\Sources\Development\Documents\Fixed\FixedDocumentViewers\UI\RadPdfViewer.cs'.


2 Answers, 1 is accepted

Sort by
0
Kammen
Telerik team
answered on 24 May 2012, 01:19 PM
Hi James,

This is a known bug that should be fixed in the LIB (latest internal build), that you can download from your account. 
If you have further problems, do not hesitate to contact us.

Greetings,
Kammen
the Telerik team

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

0
James
Top achievements
Rank 1
answered on 24 May 2012, 01:27 PM
Thank you for the reply and confirmation.

James
Tags
PDFViewer
Asked by
James
Top achievements
Rank 1
Answers by
Kammen
Telerik team
James
Top achievements
Rank 1
Share this question
or