RadPDFViewer Crashes IDE during design time

3 posts, 0 answers
  1. James
    James avatar
    8 posts
    Member since:
    Sep 2007

    Posted 21 May 2012 Link to this post


    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. Kammen
    Admin
    Kammen avatar
    312 posts

    Posted 24 May 2012 Link to this post

    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 >>

  3. UI for WPF is Visual Studio 2017 Ready
  4. James
    James avatar
    8 posts
    Member since:
    Sep 2007

    Posted 24 May 2012 Link to this post

    Thank you for the reply and confirmation.

    James
Back to Top