I am using kendo ui in my asp.net mvc my requirement was to print the document at client's machine which is not possible due to restrictions so what i did is i merged all the data in one document and then allow the client to download the file and print it. Everything is working fine but there is a performance issue . For example i have thousand records i am using OpenXML to replace bookmarks from the database values. I am reading one record at a time and merging the document . Right now i am testing for 1000 records but when the size of document increases the process gets slowers and when i open another page at the same time then it takes time i am using merge document method of OpenXML. I am confused what should i do
Asked
Active
Viewed 545 times
0
-
Can you provide some code? – Vova Bilyachat Jan 21 '14 at 09:43
1 Answers
0
if you only want to merge to two documents, look at this answer.
Its a simple merging code that does not need you copy each and every element one by one. Hope this helps.

Community
- 1
- 1

Varun Rathore
- 7,730
- 3
- 27
- 30