Hello, when using the Telerik RadWordsProcessing Library as in This Link to copy the contents of a document into another one, the contents of the target document don't have the same format as those of the source document.
I could use the clone functionality as it keeps the source formatting, but the problem with that method is that it overrides the contents that are currently in the target document, and I need to do this thing over and over again and then save it. If I try to export using the clone method and then append using a file stream, I get an error saying "Unable to truncate data that previously existed in a file opened in Append mode."
Basically what I'm doing is copying the contents of a template, replacing the data in it with some data I got in an excel spreadsheet and then I need to save every version of the original template that I replaced with data.
I could try the Mail-Merge function since that has the functionality that I'm doing basically, but I already have the doc template preexisting, don't know how to create it with Telerik.
Hi Arben,
This seems to be a complex case. Would it be possible to share the code that you are using and the file from the images? Perhaps you can open a new ticket and attach them there. This will allow us to properly investigate this and provide you with a solution.
Thank you in advance for your patience and cooperation.
You can send me the ticket id so I get the ticket as well (see attached).
Do not hesitate to contact us if you have other questions.