RadControls for ASP.NET AJAX Caution |
|---|
RadUpload has been replaced by RadAsyncUpload, Telerik’s next-generation ASP.NET upload component.
If you are considering Telerik’s Upload control for new development, check out the documentation of RadAsyncUpload or the control’s product page.
If you are already using RadUpload in your projects, you may be interested in reading how easy
the transition to RadAsyncUpload is and how you can benefit from it in this blog post.
The official support for RadUpload will be discontinued in June 2013 (Q2’13), although it will still
be available in the suite. We deeply believe that RadAsyncUpload can better serve your upload needs and
we kindly ask you to transition to it to make sure you take advantage of its support and the new features we constantly add to it.
|
SYMPTOMS
When you submit the page the RadProgressArea control does not appear.
CAUSE
There are several possible reasons for the problem:
RadUploadHttpModule and/or RadUploadProgressHandler
are not registered in web.config.
There is no RadProgressManager on the page.
The files are uploaded with an AJAX call.
There is a URL rewriter in the application.
There are other HTTP modules in the application that are designed to handle file uploads.
The application level trace is enabled in web.config.
The application is hosted in a web garden or web farm.
The uploading files have relatively small size (e.g. < 5MB) and are
uploaded on localhost.
Note |
|---|
Before trying to diagnose this problem, make sure you are using the latest
available version of the control.
|
RESOLUTION
The resolutions of each cause follow:
Add RadUploadHttpModule
and RadUploadProgressHandler
registrations in your web.config.
Add RadProgressManager to the page. You will need the
RadUploadHttpModule and RadUploadProgressHandler
registrations as well.
RadUpload and any other upload control which uses
<input type=file> html elements is unable to upload files with AJAX calls.
For more information and workarounds, see
Uploading Files with AJAX.
Configure your URL rewriter to exclude the path "/Telerik.RadUploadProgressHandler.ashx" from rewriting.
Remove all HTTP modules for file upload handling except RadUploadHttpModule.
It is possible that the components that use the disabled modules will no longer be operational.
Disable the application level trace.
RadProgressArea cannot be used in web garden or web farm. The files will be
uploaded successfully, but no progress will be displayed. If possible, disable the web garden.
There is no resolution, this behavior is expected as the files are uploaded very fast.
See Also