Error while uploading an open excel file

2 posts, 0 answers
  1. Ravi
    Ravi avatar
    104 posts
    Member since:
    Oct 2012

    Posted 02 May 2011 Link to this post


    I am trying to upload a excel which is opened. The RadUpload tries to upload for while and throws exception. how should i handle this scenario. is there a workaround for this?

    I am using the Q1, 2011 version

  2. Alex Fidanov
    Alex Fidanov avatar
    636 posts

    Posted 05 May 2011 Link to this post

    Hi David,

    When the RadUpload tries to open (read) the selected file and access is not allowed, the file will be ignored and will not be uploaded. You would see an error icon next to the file in the control. There is nothing we could do until the other process releases the file. You could iterate through the RadUploadItems in the Items collection of the Upload control and check their ErrorMessage property. If there is one with this exception, then you could try to open the file or prompt the user to close it before uploading.

    Best wishes,
    Alex Fidanov
    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
  3. DevCraft banner
Back to Top