Upload Issue

Thread is closed for posting
2 posts, 0 answers
  1. Wicus
    Wicus avatar
    31 posts
    Member since:
    Jul 2008

    Posted 12 Jan 2009 Link to this post

    Hi All,

    I would like to know what are the possible mean of preventing the radupload from clearing the selected file on a postback?
  2. Erjan Gavalji
    Admin
    Erjan Gavalji avatar
    1455 posts

    Posted 12 Jan 2009 Link to this post

    Hi Wicus,

    Preserving the file selection between page loads is limited by the browser due to possible security risks. While I am not familiar with all the implications that could have, one of them is that it becomes relatively easy for malicious sites to get the content of private files in one way or another.

    As the file input field does not preserve its value, the same applies to the RadUpload control, which utilizes file input fields for file upload handling.

    That said, I want to note that RadUpload does not contain specific code for clearing the file input field values.

    I hope this helps.

    Best regards,
    Erjan Gavalji
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Back to Top