RadAsyncUpload for ASP.NET AJAX

RadControls for ASP.NET AJAX

This example illustrates the usage of RadAsyncUpload and BinaryImage and how to display and edit images. RadAsyncUpload offers asynchronous upload capability while maintaining the look of the regular RadUpload control. The upload process requires that the files are uploaded to a custom handler and not to the hosting page. Files are stored in a temporary location until a Postback occurs. The temporary location is cleaned-up automatically.

Some of the key advantages that RadAsyncUpload offers againts RadUpload are

  • Uploads the file(s) automatically and asynchronously to the server

  • Integrated visual clue of the current operations - uploading, upload successfully completed, upload failed

  • Client side events for upload completed and upload failed

  • Simpler validation

There are a few important things to consider when using RadAsyncUpload

  • RadAsyncUpload requires the Telerik.Web.UI.WebResource handler to be registered in the web.config.

  • You need to ensure that any submit buttons on the page are disabled while upload is in progress. Otherwise, there is no guarantee that the files will be uploaded successfully

You can also perform validation over the file input as shown in the demo code:

More information about the RadAsyncUpload you can find in the links below:

Overview

Getting Started

Migrating from RadUpload for ASP.NET Ajax to RadAsyncUpload

RadAsyncUpload vs. RadUpload for ASP.NET Ajax