Approved
Last Updated: 30 Aug 2017 15:32 by ADMIN
ADMIN
Tanya
Created on: 30 Aug 2017 15:31
Category: RichTextBox
Type: Bug Report
1
RichTextBox: Header's IsLinkedToPrevious not respected when the header is empty and the footer contains page field
Setting IsLinkedToPrevious to false is not respected on export to DOCX/RTF for an empty header when the footer contains page field. The header is not exported at all.

Workaround: Add some content to the header (it might be a single space).

foreach (var section in this.radRichTextBox.Document.Sections)
{
    if (section.Headers.Default.IsEmpty)
    {
        RadDocumentEditor editor = new RadDocumentEditor(section.Headers.Default.Body);
        editor.Insert(" ");
    }
}
(Total attached files size should be smaller than 20mb. Allowed extensions: .zip, .rar, .jpg, .png, .gif)
0 comments