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.

generate multiple documents and download

Thread ID:

Created:

Updated:

Platform:

Replies:

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

Hello,
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?

thanks


Chathuranga Bandara
Replied On November 9, 2012 04:00 AM

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 07:26 AM

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.

Regards

Ramkumar



Sample_918ce4a9.zip

Chathuranga Bandara
Replied On December 7, 2012 12:39 AM

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 05:55 AM

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.

Sample:

http://www.syncfusion.com/downloads/Support/DirectTrac/101979/Sample1281571355.zip

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:

http://help.syncfusion.com/UG/Reporting/DocIO/ASP.NET/default.htm#!documents/231dlls.htm

Please let us know if you have any question.

Regards

Ramkumar

 


Chathuranga Bandara
Replied On December 12, 2012 01:31 AM

Thanks RamKumar

Ramkumar M [Syncfusion]
Replied On December 12, 2012 08:02 AM

Hi Chathuranga ,

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

Regards

Ramumar


CONFIRMATION

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.

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.

;