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

Is there a way to cancel file upload?

3 Answers 113 Views
AsyncUpload
This is a migrated thread and some comments may be shown as answers.
shunman
Top achievements
Rank 1
shunman asked on 13 Jun 2012, 11:36 AM
Hello Telerik. Team.

Is there a way to cancel file upload process while uploading?

I clicked the cancel button, but  file uploading was still working.

please let me know how to clear uploading process?

3 Answers, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 26 Jun 2012, 12:20 PM
Hello Shunman,

You can use the RadProgressArea here by setting DisplayCancelButton="True" in the aspx file:
aspx:
<telerik:RadProgressManager runat="server" ID="RadProgressManager1" />  
<telerik:RadAsyncUpload runat="server" ID="Async1">
</telerik:RadAsyncUpload>
<telerik:RadProgressArea runat="server" ID="RadProgressArea1" DisplayCancelButton="true">
</telerik:RadProgressArea>
Also check the following documentation for further information
RadProgressArea

Thanks,
Princy
0
shunman
Top achievements
Rank 1
answered on 26 Jun 2012, 05:33 PM
hello. Telerik Team.

Thank you for reply.
Please let me know that it can be stop file upload processing?

I mean I saw still uploaded chunk packet from IE Network monitor and Chrome development tool When I click the cancel button.
0
Peter Filipov
Telerik team
answered on 27 Jun 2012, 09:02 AM
Hi Shunman,

To cancel the upload please deploy your project on IIS and test through it.

Kind regards,
Peter Filipov
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
shunman
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
shunman
Top achievements
Rank 1
Peter Filipov
Telerik team
Share this question
or