Clear the document

2 posts, 0 answers
  1. danparker276
    danparker276 avatar
    389 posts
    Member since:
    Aug 2010

    Posted 18 Jun 2012 Link to this post

    How do I clear a document that has been loaded?

                pdfViewer.DataContext = null;
                pdfViewer.DocumentSource = null;
                pdfViewer.Document = null;

    doesn't work.
  2. Kammen
    Admin
    Kammen avatar
    312 posts

    Posted 21 Jun 2012 Link to this post

    Hi Dan,

    Setting the Document property to null should clear the document. However, there seems to be a bug.
    We will investigate the problem and will try to fix it for the next LIB (Latest internal build) that should be released next week. 

    Regards,
    Kammen
    the Telerik team

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

  3. DevCraft banner
Back to Top