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

Merging RadDocuments removes Bullets and Numbers.

1 Answer 40 Views
RichTextBox
This is a migrated thread and some comments may be shown as answers.
Parshuram
Top achievements
Rank 1
Parshuram asked on 12 Feb 2016, 08:47 AM

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.

1 Answer, 1 is accepted

Sort by
0
Svetoslav
Telerik team
answered on 16 Feb 2016, 05:43 PM
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.

Regards,
Svetoslav
Telerik
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
Tags
RichTextBox
Asked by
Parshuram
Top achievements
Rank 1
Answers by
Svetoslav
Telerik team
Share this question
or