Unplanned
Last Updated: 24 Mar 2026 06:17 by ADMIN
Frank
Created on: 23 Mar 2026 16:46
Category: PDFViewer
Type: Bug Report
0
PDF Viewer: NullReference Exception when opening the PdfViewerSearchNavigationToolbarItem to search second time
  1. click the "Search"-Icon
  2. type for example "simple" to have 1 hit
  3. close search
  4. click the "Search"-Icon again
  5. Crash occurs

Stack trace

--- Message ---
Object reference not set to an instance of an object.
 
--- Stacktrace ---
   at Telerik.Maui.Controls.PdfViewer.PdfViewerSearchEntryToolbarItemView.SearchEntry_TextChanged(Object sender, TextChangedEventArgs e)

1 comment
ADMIN
Didi
Posted on: 24 Mar 2026 06:17

Workaround:

For desktop, use the PdfViewerSearchToolbarItem

For mobile use the Programmatic search https://www.telerik.com/maui-ui/documentation/controls/pdfviewer/search/programmatic  

Regards,
Didi
Progress Telerik