Last Updated: 07 Jun 2023 10:38 by ADMIN
Release R2 2023 (2023.2.606)
Created on: 27 Apr 2023 07:49
Category: PdfViewer
Type: Bug Report
RadPdfViewer: NullReferenceException when clicking on editable PDFs on textboxes

It seems that this is a regression in R1 2023 SP1 after addressing this item: 

1 comment
Dess | Tech Support Engineer, Principal
Posted on: 27 Apr 2023 07:56

Hello, Chris,

Thank you for bringing this to our attention. We will do our best to introduce a fix as soon as possible. Make sure that you follow this item in order to get notified once any status changes occur.

Please excuse us for the inconvenience caused.


        Dim provider = New Telerik.Windows.Documents.Fixed.FormatProviders.Pdf.PdfFormatProvider()
        Dim filePath As String = "../../Move Form Fillable Hydro.pdf"
        Dim doc As Telerik.Windows.Documents.Fixed.Model.RadFixedDocument = provider.Import(File.ReadAllBytes(filePath))

        For Each page As Telerik.Windows.Documents.Fixed.Model.RadFixedPage In doc.Pages

            For Each a In page.Annotations
                Dim widget As VariableContentWidget = TryCast(a, Telerik.Windows.Documents.Fixed.Model.Annotations.VariableContentWidget)
                If widget IsNot Nothing Then
                    widget.AppearanceCharacteristics.Background = New Telerik.Windows.Documents.Fixed.Model.ColorSpaces.RgbColor(255, 255, 255)
                End If

        Me.RadPdfViewer1.Document = doc

Dess | Tech Support Engineer, Principal
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.