sfRichTextBoxAdv slow to load when SpellChecker acive

Hello

I'm using the sfRichTextBoxAdv (18.4.0.39 .NET 4.6 control) to retrieve and edit text and save back to a database table in HTML format.

When I turn on the spell checker for the control, and text is being loaded back from a table, the control takes a considerably longer amount of time to load. The length of time varies increases as the amount of text increases.

The current method I'm using to activate the spell checker is as outlined in the following link.


Do you have any suggestions how I can achieve a faster load time time and also enable the spell checker ?

Thanks
Allan



3 Replies 1 reply marked as answer

KG Kalaivannan Ganesan Syncfusion Team February 17, 2021 11:46 AM UTC

Hi Allan,

Thanks for contacting Syncfusion support.

The SfRichTextBoxAdv control tasks more time to load document (more content) initially when the spell checking is enabled. The reason for this time delay is, currently we are finding and rendering the proofing errors (spell checking) synchronously. And this process starts when the document loading is completed. Hence loading process is waiting until the spell-checking process is completed.

This delay will be reduced if we find and render the proofing errors asynchronously. But it leads us to do more changes in our core implementation. And, we have already added this (Find and render proofing errors asynchronously) to our feature request list. We will implement this feature in any of ourupcoming releases. We will let you know when this feature is implemented.

The tracking for the requested feature can be done through the below feedback link.
https://www.syncfusion.com/feedback/7091/find-and-render-proofing-errors-asynchronously

Please let us know if you have any other questions

Regards,
Kalaivannan
 
 
 


AL Allan February 17, 2021 06:30 PM UTC

Hi Kalaivannan 

Thanks for the update. 

As a a sort of workaround, I've put code in code behind to enable the spell checker after the sfRichTextBoxAdv has rendered its content. 

Regards
Allan




KG Kalaivannan Ganesan Syncfusion Team February 18, 2021 04:59 PM UTC

Hi Allan,

Thanks for your update.

If the spellchecker is enabled after loaded the input document in the SfRichTextBoxAdv control. It would take the same sort of time to find the proofing errors in the rendered content.

As a work around, you can load the document asynchronously with IncrementalPageLoadCount and InitialPageLoadCount property value as 1. Because, in asynchronous loading document’s content is rendered first and then the spellchecking process starts. But until the spell-checking process is completed, control does not allows any editing operation.

Also, we have prepared the sample to demonstrate the same. Which can be downloaded from the
following link.
https://www.syncfusion.com/downloads/support/forum/162622/ze/SpellChecker_RTE675956186

Please let us know if you have any other questions

Regards,
Kalaivannan
 
 


Marked as answer
Loader.
Up arrow icon