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

Thread is closed for posting
4 posts, 0 answers
  1. butter
    butter avatar
    4 posts
    Member since:
    Oct 2008

    Posted 04 Dec 2012 Link to this post

    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?!!
  2. butter
    butter avatar
    4 posts
    Member since:
    Oct 2008

    Posted 04 Dec 2012 Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. butter
    butter avatar
    4 posts
    Member since:
    Oct 2008

    Posted 04 Dec 2012 Link to this post

    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 :)
  5. Genady Sergeev
    Admin
    Genady Sergeev avatar
    1596 posts

    Posted 06 Dec 2012 Link to this post

    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.
Back to Top