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

Set the Default Source Directory for Select

1 Answer 85 Views
AsyncUpload
This is a migrated thread and some comments may be shown as answers.
Jim
Top achievements
Rank 1
Jim asked on 24 May 2010, 04:55 AM
Is there a way to set the directory that appears by default when you click "Select" on a RadAsyncUpload, or make it be the same as the last time a file was selected for upload?

1 Answer, 1 is accepted

Sort by
0
Genady Sergeev
Telerik team
answered on 26 May 2010, 12:44 PM
Hi James,

It is not possible to set a "default' directory for the <input type='file' /> html element, this is restriction by the browsers and there is no way to workaround it. Since RadUpload is based on the input type='file' element, it inherits this behavior. I suppose that this restriction makes sense since there is no guarantee that the folder set as default for the upload will exist on the given client.

With respect to your second question, the input will automatically remember which was the last opened folder. However, this behavior might differ under the different browsers.

Best wishes,
Genady Sergeev
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
AsyncUpload
Asked by
Jim
Top achievements
Rank 1
Answers by
Genady Sergeev
Telerik team
Share this question
or