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

Mulitple requests to: Telerik.RadUploadProgressHandler.ashx

7 Answers 148 Views
Upload (Obsolete)
This is a migrated thread and some comments may be shown as answers.
Scott Marsh
Top achievements
Rank 1
Scott Marsh asked on 12 Aug 2010, 03:17 PM
I just noticed something strange while I was testing for an unrelated issue.

I have a RadTreeView that loads content into a RadTabStrip/Mulitpage. In one of the tabs I have a RadUpload control. The tree and the tabstrip are Ajaxified.

When I click on a node in the TreeView it loads the relevant content in the tabs. However, I have just noticed while monitoring my application with Fiddler that after the inital load I get multiple (infinite?) calls to: http://servername:8070/Telerik.RadUploadProgressHandler.ashx?RadUrid=784e5751-9181-4e49-bb82-44cd26a3f791&RadUploadTimeStamp=1281621267773&

These keep on going until I kill the browser. At the point in which this is happening no file has been selected for upload. The upload tab isn't even visible at this point.

Have I set my RadUpload up incorrectly? Why is this happening?

Thanks,
Scott.

7 Answers, 1 is accepted

Sort by
0
Genady Sergeev
Telerik team
answered on 17 Aug 2010, 12:29 PM
Hi Scott Marsh,

This is a known issue with RadProgressManager. There are multiple ways to fix it, but the easiest is to navigate to the web config, find the appSettings section and add the following setting there:

<appSettings>
  <add key="AllowCustomProgress" value="false"/>
</appSettings>



Regards,
Genady Sergeev
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Jon Vickers
Top achievements
Rank 1
answered on 25 Oct 2010, 03:48 PM
Hey

What other ways how to fix the issue?
0
Genady Sergeev
Telerik team
answered on 28 Oct 2010, 10:21 AM
Hi Jon Vickers,

Other workaround is to put the following code right after the ScriptManager declaration:

<script type="text/javascript">
        var prm = Sys.WebForms.PageRequestManager.getInstance();
        var originalClientSubmit;
   
        if (!originalClientSubmit) {
            originalClientSubmit =
Telerik.Web.UI.RadProgressManager.prototype._clientSubmitHandler;
        }
  
        Telerik.Web.UI.RadProgressManager.prototype._clientSubmitHandler = function(e) {
            if(!prm._postBackSettings.async) {
                originalClientSubmit.apply(this, [e]);
            }
        }
    </script>


Regards,
Genady Sergeev
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
James
Top achievements
Rank 1
answered on 18 May 2012, 02:38 PM
Do these fixes apply when I want to use the CustomProgress features of RadUpload? I've tried the second fix and now my custom progress tracker doesn't show up at all. Am I able to prevent the repeated calls to the handler while using the CustomProgress

Thanks
0
Genady Sergeev
Telerik team
answered on 22 May 2012, 02:13 PM
Hi Scott,

No, the current implementation only covers the cases where upload monitoring is in progress. Please note that in custom progress scenarios you can simply call the cancel method of RadProgressArea as soon as the job being monitored is done. If you have any troubles following the suggested workaround please open a support ticket and provide there more details regarding your scenario.

Regards,
Genady Sergeev
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
Log
Top achievements
Rank 1
answered on 03 Jan 2015, 08:34 PM
I lost 3 hours over this error today. You know for this error since 2010 and you haven't fixed it in this time. Why?! I'm using DNN.
0
Hristo Valyavicharski
Telerik team
answered on 07 Jan 2015, 02:35 PM
Hi Log,

We have discontinued our partnership with DNN and we do not provide support for it. If you manage to isolate this in a runnable project please open new support ticket and attach this project. We will do our best to give you reasonable solution.

Thanks.

Regards,
Hristo Valyavicharski
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
Upload (Obsolete)
Asked by
Scott Marsh
Top achievements
Rank 1
Answers by
Genady Sergeev
Telerik team
Jon Vickers
Top achievements
Rank 1
James
Top achievements
Rank 1
Log
Top achievements
Rank 1
Hristo Valyavicharski
Telerik team
Share this question
or