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

Cancel upload progress

1 Answer 36 Views
Upload (Obsolete)
This is a migrated thread and some comments may be shown as answers.
Oren
Top achievements
Rank 1
Oren asked on 03 Jun 2012, 09:03 AM
Hello ,
I have a form with a radupload control and a submit button .
When a user upload a file , the radprogressarea pop up .
The problem is when a user click on the cancel button ,
the button click event handler takes place and try to preform some actions on the uploaded file.
Is there a way to block the event handler from firing? or a way to determine whether the upload was cancled?

Kind regards,
oren

1 Answer, 1 is accepted

Sort by
0
Bozhidar
Telerik team
answered on 06 Jun 2012, 12:32 PM
Hi Oren,

Could you elaborate a bit on your scenario. Most importantly, which event handler get's executed - the one attached to the Submit button, or the one attached to the Cancel button. Could you also specify the exact sequence of events that lead to the undesired behavior, and what should be the proper one.
 
Kind regards,
Bozhidar
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
Upload (Obsolete)
Asked by
Oren
Top achievements
Rank 1
Answers by
Bozhidar
Telerik team
Share this question
or