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

Error: Error while uploading, The process cannot access the file 'XX' because it is being used by another process.

2 Answers 138 Views
AsyncUpload
This is a migrated thread and some comments may be shown as answers.
john
Top achievements
Rank 1
john asked on 06 Oct 2012, 03:41 PM
If I open a word document and upload the document by RadAsyncUpload, it will throw the javascript error " Error while uploading, The process cannot access the file 'XXX' because it is being used by another process" if enable show js error. My question is there are a way to show a friendly message to user in that case?

2 Answers, 1 is accepted

Sort by
0
john
Top achievements
Rank 1
answered on 10 Oct 2012, 04:03 AM
Any solution?
0
Plamen
Telerik team
answered on 11 Oct 2012, 06:41 AM
Hello John,

 
You can try to achieve it in the client event OnClientFileUploadFailed of RadAsyncUpload by suppressing the original message and alerting a new one according to your scenario.

Greetings,
Plamen
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
AsyncUpload
Asked by
john
Top achievements
Rank 1
Answers by
john
Top achievements
Rank 1
Plamen
Telerik team
Share this question
or