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

Disable postback/button until uploads are finished?

1 Answer 128 Views
AsyncUpload
This is a migrated thread and some comments may be shown as answers.
Jeremy
Top achievements
Rank 1
Jeremy asked on 30 Apr 2012, 04:20 PM
Ok what we're trying to do here is upload multiple files along with something similar to a forum post. In order to do this, we need the post's ID to link the file to. Since the submission of the post and the attachments are on the same page, we're expecting to have them submitted at the same time. What I am doing right now is "catching" all of the files as the OnFileUploaded event fires, into the Cache to hold until after the ticket is processed (so that I can retrieve the Ticket ID from the database). 9 times out of 10 this work because all of the files have finished uploading before the user hits the submit button. However, in some cases where the user is finished with the ticket and one of the files is large enough to where it is still uploading when they hit the submit button, any files that are still uploading asynchronously will not make it in.

So my question is, is there an existing technique to be used with the telerik control, or is there some way to disable the submit button while async uploads are still in progress?

Thanks

1 Answer, 1 is accepted

Sort by
0
Accepted
Plamen
Telerik team
answered on 01 May 2012, 09:21 AM
Hi Jeremy,

 
You can refer to this forum thread where similar issue have been already discussed.

Hope this will be helpful.

Regards,
Plamen Zdravkov
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
Jeremy
Top achievements
Rank 1
Answers by
Plamen
Telerik team
Share this question
or