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. Image for the cookie policy date

Exception when pasting from Microsoft Word

When I try to paste a content that contains a field from Microsoft Word into SfRichTextBoxAdvExtension, the control throws System.ArgumentOutOfRangeException.

Using another app, I could save the clipboard's HTML Source and open it in a browser normally.

How can we solve this issue, please?

Attachment: Attachements_938099ff.zip

6 Replies

GT Gunasekaran T Syncfusion Team February 13, 2023 11:53 AM UTC

Hi Miftah,

We have tried copy pasting the content from the attached Word document (sample doc.docx) into the SfRichTextBoxAdv control in latest version ( and the date field is preserved properly. Can you please share the SfRichTextBoxAdvExtension class used in your application? So that we can analyze inline with your use case and provide appropriate solution soon.



MI Miftah replied to Gunasekaran T February 13, 2023 12:16 PM UTC

Hi Gunasekaran,

I've attached the extension class here. Regards.

Attachment: SfRichTextBoxAdvExtension_3b2af9c6.zip

GT Gunasekaran T Syncfusion Team February 14, 2023 04:02 PM UTC

Miftah, we can reproduce the reported exception. We will validate further and provide you more details on February 16, 2023.

GT Gunasekaran T Syncfusion Team February 20, 2023 03:10 PM UTC

We have confirmed this as a defect on our side and it is expected to be included in our 2023 Volume 1 release which scheduled for third week of March 2023.

GT Gunasekaran T Syncfusion Team February 20, 2023 03:10 PM UTC

KG Kalaivannan Ganesan Syncfusion Team March 1, 2023 11:04 AM UTC

As promised earlier, we have included the fix for the reported issue with “Exception is thrown while saving the document containing date field as HTML” in our latest weekly NuGet release (v20.4.0.52).

Please use the below link to download our latest weekly NuGet:

Feedback link: https://www.syncfusion.com/feedback/41349/exception-while-saving-the-document-containing-date-field-as-html

Note: We will include this fix in our 2023 Volume 1 Main release which will be available at end of March 2023.

Live Chat Icon For mobile
Up arrow icon