Set the Default Source Directory for Select

2 posts, 0 answers
  1. Jim
    Jim avatar
    52 posts
    Member since:
    Sep 2012

    Posted 23 May 2010 Link to this post

    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?
  2. Genady Sergeev
    Admin
    Genady Sergeev avatar
    1600 posts

    Posted 26 May 2010 Link to this post

    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.
Back to Top