We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How can I communicate with UploadBox from within the ashx file ?

Platform: ASP.NET Web Forms |
Control: Uploadbox |
Published Date: May 2, 2017 |
Last Revised Date: May 2, 2017
Tags: uploadbox


By using the uploadbox client-side events and its event argument, we can easily communicate information with server.


With help of client side events - ClientSideOnBegin, ClientSideOnComplete and its event arguments, we can easily communicate with the server. Please refer the bellow sample snippet.

  1. Add the Upload box control in the ASPX page and define the Client side events ClientSideOnBegin and ClientSideOnComplete event.
  1. Add the additional data to the args.data(in ClientSideOnBeginEvent-event argument) for sending information to server and receive server response inargs.responseText (in ClientSideOnCompleteEvent-event argument).


  1. Using context.Request.Form["UploadName_data"] – statement, we have to receive the client side data in saveFiles.ashx“ -generic handler and write server response data using the context.Response.Write() Method.


You must log in to leave a comment

Please sign in to access our KB

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon