Two exceptions for SfRichTextBoxAdv

I tried using `Load` method on SfRichTextBoxAdv for the attached 2 files, both result in a crash. I tried it with the Sample provided too, and same result happens.

Both files are created by Word template. The two exceptions are NullReferenceException and StackOverflowException.

I am using v16.1.0.24.

Attachment: exceptions_d526916c.7z

1 Reply

VM Venkatesan Mani Syncfusion Team April 23, 2018 12:23 PM UTC

Hi Dat Vo,

Thank you for contacting Syncfusion support.

We were able to reproduce the reported issues “StackOverFlowException and NullReferenceExcepion while opening the attached documents into SfRichTextBoxAdv control”. On further analyzing the documents, the document contains the contents inside the content controls (it is placed within table cell) which is not supported in SfRichTextBoxAdv control. Since, the content controls not parsed and the empty cells cause these exceptions.

Now, we have added content fallback support for content controls in SfRichTextBoxAdv control to avoid data lose. That is, the content controls will be converted as static text (content present inside the controls) and it will be preserved while importing and exporting the document in SfRichTextBoxAdv control. This support will be included in our next Essential Studio 2018 Volume 2 release which will be available in mid of May 2018.

Note: At present, Our DocIO library only supports InlineContentControls and BlockContentControls. Hence, the content of Inline content controls and block content controls alone parsed in our SfRichTextBoxAdv.

Regards,
Venkatesan M. 


Loader.
Up arrow icon