Completed
Last Updated: 19 May 2021 13:37 by ADMIN
Release LIB 2021.2.525 (25/05/2021)
Ashley
Created on: 11 May 2021 06:02
Category: RichTextBox
Type: Bug Report
2
RichtextBox: PdfExport: InvalidOperationException: 'Nullable object must have a value.'
PdfExport: InvalidOperationException: 'Nullable object must have a value.'
4 comments
ADMIN
Dimitar
Posted on: 13 May 2021 08:04

Hello Ashley,

Thank you for your feedback. I was able to successfully reproduce this issue with a blank docuemnt. This will be useful when the is being fixed. 

Regards,
Dimitar
Progress Telerik

Тhe web is about to get a bit better! 

The Progress Hack-For-Good Challenge has started. Learn how to enter and make the web a worthier place: https://progress-worthyweb.devpost.com.

Ashley
Posted on: 12 May 2021 12:13

Hi Dimitar, 

To create the document I am using a RadRichTextBox. I change the document to format as two columns and add a header that contains text and our company logo image. I save the document to our database as a string by using the XamlFormatProvider. In a different area in our program I then get that string from the database and use the XamlFormatProvider to import the string which gives me the RadDocument. I then convert the RadDocument into a PDF using the PdfFormatProvider. The error that is given is during the export function on the PdfFormatProvider. 

As a note when I load the document back into my RadRichTextBox the document loads and displays just fine. 

Please let me know if I can help getting this resolved in any way. 

Thank you

ADMIN
Dimitar
Posted on: 12 May 2021 05:24

Hello Ashley,

We have further investigated this and I wanted to ask you the exact steps for creating such a document? This will allow me to determine what is causing the invalid value.  

I am looking forward to your reply.

Regards,
Dimitar
Progress Telerik

Тhe web is about to get a bit better! 

The Progress Hack-For-Good Challenge has started. Learn how to enter and make the web a worthier place: https://progress-worthyweb.devpost.com.

Ashley
Posted on: 11 May 2021 12:09
Hello! I really really need this functionality fixed as soon as possible. My client formats their document in two columns to fit as much on the page as possible to send to vendors.