Merging RadDocuments removes Bullets and Numbers.

2 posts, 0 answers
  1. Parshuram
    Parshuram avatar
    1 posts
    Member since:
    Feb 2016

    Posted 12 Feb Link to this post

    I have a 2 RadDocuments.

    RadDocument1 contains some text without any kind of formatting.

    RadDocument2 contains text with formatting and some Numbered or Bulleted lists.

    If I try to merge contents of RadDocument2 into RadDocument1 by DeepCopying RadDocument2's sections, then the Bullets or Numberings are lost and the

    lines appears without them. Other formattings done in RadDocument2 are preserved and are visible for the merged content in RadDocument1 after merging.

    Even trying to DeepCopying each Children of RadDocument2 into RadDocument1 is giving the same result.

     I wanted to know how should I programmatically merge contents of RadDocument2 into RadDocument1 without it losing any Bullets and Numberings.

  2. Svetoslav
    Svetoslav avatar
    55 posts

    Posted 16 Feb Link to this post

    Hello Parshuram,

    I tried to reproduce the described behavior, but it seems to work as expected on our end. The best way to approach such a problem is to replicate it on our side and analyze its roots. Therefore, I would like to ask you to open a support ticket and send us the exact steps to reproduce, document files that you are trying to merge and a sample application if possible (at least, the code that is used to merge the documents). Once we are able to reproduce the issue, we will do our best to assist you. 

    On the other hand, depending on the scenario that you are trying to achieve, you could use several approaches. My suggestion is to check our Merge documents example in our SDK that uses the DocumentFragment class to insert a document into another one at a specified position.

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  3. DevCraft banner
Back to Top