Skip to Content
0
Former Member
Feb 03, 2011 at 01:50 PM

Download excel File WITHOUT IWDLinkToURL

31 Views

Good morning.

I need to open an excel file for the customer to open or save, as it is with a IWDLinkToURL, but I can not do it with a IWDLinkToURL by specifications of the application that I'm doing.

Consider the following code:

IWDCachedWebResource cachedExcelResource = null;

wdThis.wdGetReportesComponentsController excelXMLFile = (). ToExcel (DataNode, columnInfos, selectionElement). getBytes ("UTF-8");

cachedExcelResource = getCachedWebResource (excelXMLFile, fileName, WDWebResourceType.XLS)

Taking the object cachedExcelResource, how could deploy automatically?

I thought of the possibility of placing the object invisible and shoot IWDLinkToURL some onClick event, but I do not know how to manipulate objects of sight from the controller's view.

The other option is to set the onClick of IWDLinkToURL but I found its implementation.

Thank you very much!