We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

generate multiple documents and download

Thread ID:





105450 Oct 26,2012 05:14 AM UTC Dec 12,2012 01:02 PM UTC ASP.NET Web Forms (Classic) 6
Tags: DocIO
Chathuranga Bandara
Asked On October 26, 2012 05:14 AM UTC

One of my requirement is generate multiple documents and download using a single method.

What are the posibilities to achieve this?
Can I use this as an array WordDocument document = new WordDocument();?
And how to download multiple documents?
Can I use  document.Save("sample", FormatType.Docx, Response, HttpContentDisposition.Attachment);  in  a for loop?
Can I do this or not?


Chathuranga Bandara
Replied On November 9, 2012 09:00 AM UTC

instead of doing this
document.Save("sample", FormatType.Docx, Response, HttpContentDisposition.Attachment);

can we send document in a email? I mean without stored in hard disk and send directly through code?

some one help me please

Ramkumar M [Syncfusion]
Replied On November 9, 2012 12:26 PM UTC

Hi Chap,

Thank you for your interest in Syncfusion products

We have prepared a sample to meet your requirement of download multiple DocIO generated documents or send via mail as attachemnt. Please find the sample from the attachment and let us know if this helps you

In this sample we have zipped all the documents as archive and then download or eMail that archive.

Please let us know if you have any question.




Chathuranga Bandara
Replied On December 7, 2012 05:39 AM UTC

thanks for your support. 
1. Is there any method to send .doc or docx file directly via mail without compressing?
2. What are the dll's need to use using Syncfusion.Compression.Zip; 

I used 
Syncfusion.Compression.Base.dll, Syncfusion.Core.dll. 
but error is C#: Unknown type or namespace 'Compression' of 'Syncfusion'. (vs2008, asp.net, 3.5)

Ramkumar M [Syncfusion]
Replied On December 10, 2012 10:55 AM UTC

Hi Chathuranga ,

Thank you for your update

We have modified the sample to meet your requirement of send each .doc and .docx files directly via mail without compressing all the documents into an archive. For your reference please find the sample from below link and let us know if this helps you.



Regarding the dll's need to use using Syncfusion.Compression.Zip:

Syncfusion.Compression.Base.dll and Syncfusion.Core.dll are the dll’s need to use Syncfusion.Compression.Zip namespace. Also we are not able to reproduce the mentioned dll reference issue. Could you please provide us the sample project to reproduce the mentioned reference issue? So that we can analyse on the exact cause of the issue and provide you the proper solution.

For more information regarding assemblies need to be referenced in your application for the usages of Essential DocIO, please refer the below link:


Please let us know if you have any question.




Chathuranga Bandara
Replied On December 12, 2012 06:31 AM UTC

Thanks RamKumar

Ramkumar M [Syncfusion]
Replied On December 12, 2012 01:02 PM UTC

Hi Chathuranga ,

You are welcome. Please let us know if you have any question.




This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon