This is a migrated thread and some comments may be shown as answers.

Custom progress on a page with RadUpload in it

2 Answers 70 Views
Upload (Obsolete)
This is a migrated thread and some comments may be shown as answers.
Leandro
Top achievements
Rank 1
Leandro asked on 09 Apr 2013, 09:52 PM
Hi,
I Have a page with a RadUpload control taht is working fine.

Now I would like to add a progress bar to show about the process that I'm doing with the information loaded from the uploaded file.

I'm receiving this message when I tried to just replicate the same code from the demo on that page:
RadUpload Ajax callback error. Source url returned error: 400
Bad Request
http://localhost:19562//Telerik.RadUploadProgressHandler.ashx?RadUrid=297095f2-2e7d-4479-94c3-cf10b923cd46


The error is here: "...19562//Telerik..." If i remove the second slash and put it manually on the address bar it's working fine.

How can I fix it? Any help will be very appreciated.

thanks!

2 Answers, 1 is accepted

Sort by
0
Accepted
Hristo Valyavicharski
Telerik team
answered on 12 Apr 2013, 03:06 PM
Hi Leandro,

Check in your web.config file if all handlers are registered correctly and make sure that there is no '/' before Telerik.RadUploadProgressHandler.ashx. If everything looks normal then try to send us runnable sample or paste a code snippet here, so we can try to isolate and debug this behavior.

Do you use ProgressArea?  There are some limitations related to it. When an application is using RadUpload control with RadProgressArea and is deployed on IIS server the progress indicators are not working. The issue appears only when you open a web site e.g. http://localhost/testpage/ and the Default.aspx (the Default.aspx file is the default document of the application) file is opened and the URL is without Default.aspx. If you open e.g. http://localhost/testpage/Default.apsx URL the RadProgressArea is working correct. The issue appears because of the HttpRequest object. 

Thanks.

Regards,
Hristo Valyavicharski
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
Leandro
Top achievements
Rank 1
answered on 12 Apr 2013, 03:31 PM
Thanks Hristo for your help!!
Finally, I've decided to remove the control. I didn't know about the limitations, thanks for letting me know about them.
Tags
Upload (Obsolete)
Asked by
Leandro
Top achievements
Rank 1
Answers by
Hristo Valyavicharski
Telerik team
Leandro
Top achievements
Rank 1
Share this question
or