Welcome to the WPF feedback portal. We’re happy you’re here! If you have feedback on how to improve the WPF, we’d love to hear it!

  • Check out the features or bugs others have reported and vote on your favorites. Feedback will be prioritized based on popularity.
  • If you have feedback that’s not listed yet, submit your own.

Thanks for joining our community and helping improve Syncfusion products!

1
Vote

I need to load a series of PDFs one at a time in my application.

I am using PdfDocumentView.CurrentPageChanged to handle page changes so I can display the current page # in my view.

This works for the first PDF loaded. But if I load a second PDF, PdfDocumentView.CurrentPageChanged  stops firing new events.

In the debugger, I can see that PdfDocumentView.innerPanel.CurrentPageChanged becomes NULL after a call to PdfDocumentView.Unload(). This happens on line 5630 in my debugger.


To reproduce:

*NOTE*: All PDFs must be loaded as PdfLoadedDocument for this to cause the bug!

  1. Create a PdfDocumentViwer and Load a new PDF that has multiple pages
  2. Bind to CurrentPageChanged and verify it is called when page is changed.
  3. Load a new PDF using PdfDocumentViewer.Load.
  4. Verify that CurrentPageChanged is no longer called.