This is a migrated thread and some comments may be shown as answers.

Uploading excel file

3 Answers 133 Views
AsyncUpload
This is a migrated thread and some comments may be shown as answers.
Mike
Top achievements
Rank 1
Mike asked on 17 Sep 2012, 12:53 PM
Does anyone have a code snippet or example on how to upload an excel file into memory? I don't need to save the file, I just want to process the contents. I'm trying to use the asyncupload component.

Thanks,
Rut

3 Answers, 1 is accepted

Sort by
0
Plamen
Telerik team
answered on 20 Sep 2012, 10:51 AM
Hello Rut,

 
By default RadAsyncUpload is not able to perform such scenario but would you please elaborate a little bit the exact case because it is not quite clear what exactly do you mean by "process the contents"?  

Would you please explain as well why are you trying to avoid uploading the file and reading it after that?

Regards,
Plamen
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
Mike
Top achievements
Rank 1
answered on 20 Sep 2012, 11:55 AM
Well, the powers at be didn't really won't me saving the files to the web server but I don't really see an alternative.

I do have one other question about positioning the upload control. It appears that regardless of how I try to position it (using css) that it always wants to be to the extreme left of the containing div. It also seems to automatically have a br before it as I can't get it to position to the right side of a dropdown list on the page.
0
Princy
Top achievements
Rank 2
answered on 21 Sep 2012, 05:47 AM
Hi Mike,

Try overriding the default css as follows to achieve your scenario.

CSS:
<style type="text/css">
 .RadAsyncUpload
 {
   float:right !important;
 }
</style>

Thanks,
Princy.
Tags
AsyncUpload
Asked by
Mike
Top achievements
Rank 1
Answers by
Plamen
Telerik team
Mike
Top achievements
Rank 1
Princy
Top achievements
Rank 2
Share this question
or