Approved
Last Updated: 31 Oct 2018 07:54 by ADMIN
ADMIN
Todor
Created on: 08 Feb 2016 16:22
Category: RichTextBox
Type: Bug Report
1
RichTextBox: If header/footer contains a Cross Reference field, its result is not updated in the model, but only in the UI
When header/footer (HeaderFooterPresenterBase) is rendered, the model which corresponds to it (HeaderFooterBase's Body property) is not updated. The result is updated only in the presenter. Thus, when exporting the document or when checking the elements in the model, the value of the inline (span's text) is not updated.

Workaround: Update the fields in the headers/footers. RadDocumentEditor.UpdateAllFields() method can be used. Note that it works only for the main document and not its child documents, so different RadDocumentEditors should be created for each header/footer document.
0 comments