This is a migrated thread and some comments may be shown as answers.

Page Number Field updating

1 Answer 42 Views
RichTextBox
This is a migrated thread and some comments may be shown as answers.
ASF
Top achievements
Rank 1
ASF asked on 06 Dec 2013, 01:08 PM
There's an issue.
We process XAML documents exported from RadRichTextBox. Basically we make copies of rows in tables. That increases document lengths and sometimes a few pages added.
The documents (in header and body) contain PageField elements that are substituted by page numbers when exporting. 
But if the final document contains more pages than the original one, PageFields are not updated in body (they are updated in headers though).
How can we force them to refresh?
There's a method like 
radDocument.UpdateAllFields(FieldDisplayMode.Result); 
But that doesn't seem to do what I expect.

Thanks.

1 Answer, 1 is accepted

Sort by
0
Vasil
Telerik team
answered on 10 Dec 2013, 05:16 PM
Hello,

Thank you for the question.

Unfortunately, we are not aware and were unable to reproduce such issue. In our attempts to replicate the problem, UpdateAllFields() method of RadDocument works as expected in 2013 Q3 SP1 (2013.3.1204) version of RadControls for Silverlight. Could you please send us a sample project and/or document demonstrating the problem through a support ticket?

An important thing to note is that in our latest official version (2013 Q3 SP1) the UpdateAllFields() method of RadDocument is obsoleted and we suggest the use of RadDocumentEditor.UpdateAllFields() method instead. Additionally, UpdateAllFieldsCommand was exposed.

Looking forward to hearing from you.

Regards,
Vasil
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for SILVERLIGHT.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
Tags
RichTextBox
Asked by
ASF
Top achievements
Rank 1
Answers by
Vasil
Telerik team
Share this question
or