Asynchronus File Upload with StateServer Mode

620 views Asked by At

I want to implement Asynchronus File Upload.

I've tried ajax:AsyncFileUpload control. It's working fine only with InProc Mode.

But I'm using StateServer Mode.

Any help from anybody?

Thanks in advance.

Regards

Debashis

3

There are 3 answers

0
Darin Dimitrov On

AsyncFileUpload control tries to put an HttpPostedFile instance into the session. This works fine with InProc session but will fail with out of process session because this requires the class to be marked with SerializableAttribute. Long story short: you can't use anything else than InProc with the AsyncFileUpload component.

0
Muhammad Akhtar On

As the Darin point the issue with the control you are using, I think you need to change your control choice, use AJAX uploaded and check URL, you will find here lot of uploading AJAX based control

http://ajaxuploader.com/Demo/default.aspx