Completed
Last Updated: 13 Mar 2019 16:37 by ADMIN
Release 2019.1.117
ADMIN
Dimitar
Created on: 23 Oct 2018 09:14
Category: RichTextEditor
Type: Bug Report
1
FIX. RadRichTextEditor - exception when calling GetStatisticsInfo and the document is empty
To reproduce: 
var d = new RadDocument();
var s = d.GetStatisticsInfo();

Workaround:
var d = new RadDocument();

if (d.Sections.Count > 0 && d.Sections.Last.Blocks.Count >0)
{
    var s = d.GetStatisticsInfo();
}  
0 comments