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

File Upload Timing

2 Answers 39 Views
AsyncUpload
This is a migrated thread and some comments may be shown as answers.
Kurt Kluth
Top achievements
Rank 1
Kurt Kluth asked on 27 Sep 2018, 03:41 PM

Is it possible to process a button click event prior to doing the upload of the file?  

What I am hoping to do is have a user submit a support ticket and have the ability to add a supporting document at the same time.  When they submit the ticket it returns the new ID.  I then need to upload the file and append the issueID to the front of the file name.  Currently I click the button and it processes the file upload first and then finishes the button onclick event.  

 

2 Answers, 1 is accepted

Sort by
0
Accepted
Marin Bratanov
Telerik team
answered on 01 Oct 2018, 05:12 PM
Hello Kurt,

The async upload is designed to process the files upon a postback, as this is the general way data is processed in WebForms. If it were not available, most people would need it in a postback event and that would be poor design for the control.

Nevertheless, we have provided a lot of flexibility in our controls and there are two features that may help you:

 


Regards,
Marin Bratanov
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
0
Kurt Kluth
Top achievements
Rank 1
answered on 01 Oct 2018, 07:31 PM
Thank you, Marin, for explaining things and the 2nd solution worked out just great for me.  
Tags
AsyncUpload
Asked by
Kurt Kluth
Top achievements
Rank 1
Answers by
Marin Bratanov
Telerik team
Kurt Kluth
Top achievements
Rank 1
Share this question
or