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

RadProgressManager var rawProgressData = {InProgress:false,ProgressCounters:false}; when i leave page

3 Answers 107 Views
Upload (Obsolete)
This is a migrated thread and some comments may be shown as answers.
butter
Top achievements
Rank 1
butter asked on 04 Dec 2012, 08:12 AM
Hello,

I have RadProgressManager for uploading files. It works fine, but when I leave page it take a lot of time even if I do not upload any file before. When I use fire bug (console) it fire more than 10 events with this code:
var rawProgressData = {InProgress:false,ProgressCounters:false};


Code:

<rad:RadProgressManager ID="RadProgressManager1" Runat="server">
</rad:RadProgressManager>
<rad:RadUpload ID="fuDatoteke" Skin="Office2007" ControlObjectsVisibility="None" AllowedFileExtensions=".csv" MaxFileInputsCount="1" runat="server">
</rad:RadUpload>
<rad:RadProgressArea ID="RadProgressArea1" Skin="Office2007" CssClass="positionAbsolute" runat="server">
</rad:RadProgressArea>

Error.png

When I test it on server it fire 65 events?!!

3 Answers, 1 is accepted

Sort by
0
butter
Top achievements
Rank 1
answered on 04 Dec 2012, 08:57 AM
Now I see that every time when I fire any event on page with RadProgressManager I get more then 10 events with this content. But othervise all work fine.
0
butter
Top achievements
Rank 1
answered on 04 Dec 2012, 11:34 AM
I get the reasion for long time of executing after change page but I still, do not have idea why I get this error. But I can live with that :)
0
Genady Sergeev
Telerik team
answered on 06 Dec 2012, 01:12 PM
Hi,

Actually this is not an error but the response of multiple http requests that were sent to the server. This is a known misbehavior of RadProgressArea when there are ajax requests on the page. Fortunately, the fix is a rather easy one. Simply put the following pair in the appSettings of your app:

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

All the best,
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.
Tags
Upload (Obsolete)
Asked by
butter
Top achievements
Rank 1
Answers by
butter
Top achievements
Rank 1
Genady Sergeev
Telerik team
Share this question
or