We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

Closing PdfLoadedDocument does not remove view from PdfViewerControl

Thread ID:





118691 Mar 31,2015 06:57 PM Apr 1,2015 08:25 AM WPF 2
Tags: PdfViewer
Chuck Berg
Asked On March 31, 2015 06:57 PM

After calling PdfLoadedDocument.Close(true) I've tried several things to close its view in a PdfViewerControl but nothing works.  What do I need to do?

Chuck Berg
Replied On March 31, 2015 08:54 PM

My code now looks like this...

private void CloseLoadedDocument()


     if (this.pdfLoadedDocument != null)



         this.pdfLoadedDocument = null;





but the display still doesn't clear until I call this.DocumentViewControl.Load(newDocument);

Sathish Sivakumar [Syncfusion]
Replied On April 1, 2015 08:25 AM

Hi Chuck,

We are not able to reproduce the issue “Closing PdfLoadedDocument does not remove view from PdfViewerControl” from the code snippet you have provided. We have attached the Sample with which we tried to reproduce this issue. Please modify this sample or provide us a simple sample with which this issue could be reproduced.



Sathish S.


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.