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 : Nov 16th 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 ?


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.


Article ID: Published Date: Last Revised Date: Platform: Control:
7694 05/02/2017 05/02/2017 ASP.NET Web Forms Uploadbox
Did you find this information helpful?
Add Comment
You must log in to leave a comment

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