Is it possible to configure igUpload so the uploaded file (excel) arrives to the controller ( asp.net mvc ) as the memory stream, instead of saving it as the file.
If yes, are there any samples.
Thanks.
Hello mcseidel,
In many scenarios when uploading files, you typically want to process them on the server (save them to a data base or compress them before saving to the file system. In order to enable processing of the uploading files, you need to enable igUpload`s MVC wrapper HTTP module. To enable that module, you have to register it in the project's web.config file. The exact configuration varies depending on the installed Internet Information Services (IIS) version.
The file saving mode specifies how file processing is done - as a file or memory stream. The file saving mode is managed by the FileSaveType property. The allowed values are filestream and memoerystream corresponding to the respective manners of processing.
In the View, you have to configure the igLoader components and igUpload control, as well as the client side error handling for igUpload.In the Controller, you have to implement a method which will process each chunk of data of the file.
Configuration steps as well as some additional information regarding saving files as stream could be found at the following link:
http://www.igniteui.com/help/igupload-saving-files-as-stream
Please have a look at this article and let me know if you have any additional questions afterwards.