Page Number Field updating

2 posts, 0 answers
  1. ASF
    ASF avatar
    4 posts
    Member since:
    Dec 2013

    Posted 06 Dec 2013 Link to this post

    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.

  2. Vasil
    Admin
    Vasil avatar
    124 posts

    Posted 10 Dec 2013 Link to this post

    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 >>
  3. DevCraft banner
Back to Top