File Upload Timing

3 posts, 1 answers
  1. Kurt Kluth
    Kurt Kluth avatar
    166 posts
    Member since:
    Oct 2009

    Posted 27 Sep 2018 Link to this post

    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. Answer
    Marin Bratanov
    Admin
    Marin Bratanov avatar
    4712 posts

    Posted 01 Oct 2018 Link to this post

    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.
  3. Kurt Kluth
    Kurt Kluth avatar
    166 posts
    Member since:
    Oct 2009

    Posted 01 Oct 2018 Link to this post

    Thank you, Marin, for explaining things and the 2nd solution worked out just great for me.  
Back to Top