MergeField Formatting

3 posts, 0 answers
  1. Richard
    Richard avatar
    11 posts
    Member since:
    Aug 2011

    Posted 30 Apr 2013 Link to this post

    I'm finding rather large inconsistencies with MergeField formatting. I am binding my RichTextBox with the DocxDataProvider. On a "save" I am saving the byte[] data to a database. Sometimes the MergeFields formatting saves, other times it does not. I am noticing if there are two MergeFields right next to each other, separated by a space, the MergeField on the right will not have it's formatting saved.

    The same holds true if you have a 2 column table, the MergeFields in the left column preserve their formatting, however the ones in the right do not. Though this is not an all the time thing.

    Is DocxDataProvider and saving the byte[] data that unreliable? Is there a more reliable way to do things. I've wasted a lot of time playing with this, and it was a great idea to help contain our client's from making mistakes/misspellings in Word.

    I'm to the worn-down phase now and will consider taking this away from the DocxDataProvider and the MVVM pattern, if i can get more reliability.
  2. Boryana
    Boryana avatar
    330 posts

    Posted 03 May 2013 Link to this post

    Hi Richard,

    Thank you for writing.

    Currently, we are working with limited resources because of the Easter Holidays and will need some more time to provide you with proper answer. I will mark this ticket as requiring additional answer and we will get back to you as soon as we can. Please excuse us for the caused inconvenience.

    Thank you for your understanding and cooperation.

    All the best,
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  3. DevCraft R3 2016 release webinar banner
  4. Mihail
    Mihail avatar
    181 posts

    Posted 13 May 2013 Link to this post

    Hello Richard,

     Please excuse us for the delayed response.

    We are aware of a problem where merge fields lose their formatting when saved without item source. Can you confirm that your problem is the same?
    If not, can you please give us a stable procedure to reproduce the described behavior.

    Looking forward to your reply.

    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Back to Top