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.

IWorkbook..::.SaveAs Method (String, HttpResponse, ExcelDownloadType)

Thread ID:

Created:

Updated:

Platform:

Replies:

75855 Aug 12,2008 07:26 AM Oct 22,2010 06:13 AM ASP.NET Web Forms (Classic) 2
loading
Tags: XlsIO
Vidya Jayakumar
Asked On August 12, 2008 07:26 AM

hi,

Iworkbook class has a method to save the excel file. There are so many overloaded methods. One of them being
Dim wb as IWorkbook
wb.SaveAs Method (String, HttpResponse, ExcelDownloadType)
What are the other options for HttpResponse? One of them being "Response" as i can see from your code samples.
i.e wb.Saveas ("filename",Response,ExcelDownloadType.PromptDialog)

vidya


Yavanaarasi G [Syncfusion]
Replied On August 14, 2008 01:17 AM

Hi Vidhya,

Thank you for your interest in Syncfusion products.

The methods and properties of the HttpResponse class are exposed through the Response property. It encapsulates the response information from an ASP.NET operation. Hence the class only accessed through Response object.

Please refer the link below:
http://msdn.microsoft.com/en-us/library/system.web.httpresponse.aspx

Also you can save the workbook in streams, response and in disks. Below is the documentation link for the class reference:
http://www2.syncfusion.com/cref_63/-1-10-index.aspx

Please let me know if you have any other concerns.

Regards,
G.Yavana



Malathi Latha Puli
Replied On October 22, 2010 06:13 AM

Hi,

I was trying out with XLSIO for a web app, my requirement is somthing like, get some existing excel templates from sharepoint, edit it(prefil data using XLSIO component) and upload(save) back to another location in sharepoint.

My query is how can i save to sharepoint using SaveAs method?Coz am not editing/saving the document locally.

Thanks,


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.

;