Binding to SfRichTextBoxAdv properties with notification of property changes

Hi,

I've managed to bind a label to the word count property on a SfRichTextboxAdv, however it only appears to set the value when the window is first loaded and does not reflect any property updates. Any advice here?

Also, this may be a feature request rather than a query, but I was looking to see if it was possible to have a paragraph count too?

Thanks in advance

Paul

6 Replies 1 reply marked as answer

PA Paul August 5, 2020 07:38 AM UTC

Hi, 

I noticed the feature request has been recorded, thank you. However, any advice on the property updates?

Thanks

Paul


PS Premkumar Sundaramoorthy Syncfusion Team August 5, 2020 12:20 PM UTC

Hi Paul,

Thanks for contacting Syncfusion support.

Regarding word count

The WordCount property is not updated while editing due to it is not a dependency property. So, we have a logged defect report for this issue. As a workaround you can get the word count from SfRichTextBoxAdv and sets it to the label on content changed event, to reflect when each word added or removed.

Also, we have prepared the sample to demonstrate the same. Which can be download from the following location.

https://www.syncfusion.com/downloads/support/forum/156647/ze/RTE_Wordcount963380381

Regarding Paragraph count
Currently, we don’t have support to get paragraph count from SfRichTextBoxAdv control. We have added it to our feature request list.

We will fix the update issue in WordCount property and implement the ParagraphCount property and provide you the private patch on or before 21st August 2020.

https://www.syncfusion.com/feedback/16702/support-for-get-paragraphs-count

Please let us know if you have any other questions.

Regards,
Premkumar
 



PA Paul August 6, 2020 10:22 AM UTC

Thank you very much. 


PS Premkumar Sundaramoorthy Syncfusion Team August 7, 2020 05:09 PM UTC

Hi Paul,

As we promised earlier, we will fix the update issue in WordCount property and implement the ParagraphCount property and provide you the private patch on or before 21st August 2020.

https://www.syncfusion.com/feedback/16702/support-for-get-paragraphs-count

Please let us know if you have any other questions.

Regards,
Premkumar
 



PA Paul August 31, 2020 10:57 PM UTC

Hey,

I'm not sure how a private patch would be delivered, but I've not received any contact regarding this issue? Any updates?

Thanks

Paul


PS Premkumar Sundaramoorthy Syncfusion Team September 2, 2020 03:50 AM UTC

Hi Paul,

We have fixed the update issue in WordCount property and implemented the new ParagraphCount property.  Please find the NuGet package alone from the below location.

Assembly Version: 18.2.0.44

NuGet package
http://syncfusion.com/Installs/support/patch/18.2.0.44/1274065/F156647/SyncfusionNuget_18.2.0.44_1274065_9012020061609229_F156647.zip

Also, we have prepared the sample to demonstrate the use of Paragraph and Word count properties
https://www.syncfusion.com/downloads/support/forum/156647/ze/RTE_WordAndParaCount-732141539

Disclaimer: 
Please note that we have created this patch for version 18.2.0.44 specifically to resolve the issues  
reported in this Forum #156647. And we have a plan to include this fix in our upcoming Volume 3 main release which will we estimated to deliver in the end of October 2020.

Regards, 
Premkumar

Marked as answer
Loader.
Up arrow icon