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

Rad Async Upload with default location

1 Answer 142 Views
AsyncUpload
This is a migrated thread and some comments may be shown as answers.
Prathibarani
Top achievements
Rank 1
Prathibarani asked on 12 Apr 2014, 04:59 AM
Hi,
Right now we are using asp.net upload file control. I was looking around to see if I can use Rad Async upload control to meet our requirements:
1) multi file upload
2) When page loads, file upload control (pop up box) should open in set default location like C:\Company1\downloadFiles.
3) Post back, retain file path in display box (textbox) of upload control.
4) After upload is done, control should removed file names or box should be empty.

Please let me know if all these are done by rad async upload control.

Thank you.

1 Answer, 1 is accepted

Sort by
0
Boyan Dimitrov
Telerik team
answered on 15 Apr 2014, 04:44 PM
Hello,

Straight to your questions:
  1. You can enable the multi file upload by simply setting MultipleFileSelection="Automatic". Please refer to this demo.
  2. Please note that due to security reasons it is not possible to set the default path for the dialog window. It is a browser limitation an it is not possible to change it. In order to open the file browser dialog on page load you can simply execute this line of code in the client pageLoad event handler:
    $('.ruFileInput').click()
  3. Could you please elaborate a bit more on this question?
  4. After the file is uploaded file list is automatically cleared.

Hope that this helps.




Regards,
Boyan Dimitrov
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
AsyncUpload
Asked by
Prathibarani
Top achievements
Rank 1
Answers by
Boyan Dimitrov
Telerik team
Share this question
or