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

RadAjaxLoadingPanel won't disappear.

29 Answers 438 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
John Rogowski
Top achievements
Rank 1
John Rogowski asked on 09 Jul 2008, 08:33 PM
The problem is sporadic, so I'll try to explain.. hopefully it's something small that I'm missing.

Currently, we are using ASP.NET AJAX Q1 2008 (515.20).  I've got a main page with RadAjaxManager and several UserControls with RadAjaxManager proxies.  Each UserControl has its own loading panel defined and, on request, the loading panels show up correctly.  However, they won't go away after the response ends. 

I verified that the events were happening with OnRequestStart and OnResponseEnd events by sending a javascript alert.  No javascript errors or exceptions were thrown.  Any ideas?

29 Answers, 1 is accepted

Sort by
0
Clayton
Top achievements
Rank 2
answered on 09 Jul 2008, 11:00 PM
I am experiencing the same exact thing.  For me, the page was working perfectly under RadControls classic.  After upgrading/converting to RadControls for Ajax, I am getting this behavior.

For me, I have a similar structure:
- Main page loads user control (A) dynamically.  It contains
           the RadAjaxManager.
    - user control (A) contains tabstrip within which (multipage) has
             a user control (B).  Tabstrip is set to autopost back and
             multipage to render only current page.
        - user control (B) has several fieldset.  Checkbox in fieldset's
                 legend enables/disables the other controls in that fieldset,
                 which themselves are contained in a panel.
        - user control (B) on pageload looks at parent page and finds
                 the RadAjaxManager, then via code calls AddAjaxSetting
                 and adds the appropriate controls.

If I modify the code in user control (B) to not assign a loading panel in the AddAjaxSetting, then it works fine.




0
Rosen
Telerik team
answered on 14 Jul 2008, 06:59 AM
Hi Clayton,

I'm happy to inform you that our developers have been addressed this issue. Therefore the fix will be available in this year's Q2 release of the RadControls for ASP.NET AJAX suite.

Greetings,
Rosen
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Doug Beard
Top achievements
Rank 2
answered on 14 Jul 2008, 01:49 PM
The problem still exists in the current futures release...


0
Vlad
Telerik team
answered on 14 Jul 2008, 01:51 PM
Hi Doug,

This fix will be included in official Q2 release.

Greetings,
Vlad
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
John Rogowski
Top achievements
Rank 1
answered on 18 Jul 2008, 01:20 PM
Any idea when that will be?
0
Sebastian
Telerik team
answered on 18 Jul 2008, 01:25 PM
Hello John,

The Q2 2008 release of RadControls for ASP.NET AJAX is scheduled in the middle of the next week.

Best regards,
Stephen
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Albert Shenker
Top achievements
Rank 1
Veteran
answered on 05 Jun 2009, 01:23 AM
I am experiencing this issue all of a sudden with an older app that uses 2008 Q1 (415) controls. I am not able to upgrade this app to a later version because of changes made in the Ajax Framework subsequent to this release. Can you suggest anything I can do as a patch or hack to avoid this issue?
0
Sebastian
Telerik team
answered on 05 Jun 2009, 08:54 AM
Hello Albert,

I am afraid there is no custom patch for this discrepancy for this rather outdated version of RadControls for ASP.NET AJAX. You may consider migrating to the newer version of the product which includes the fix.

Kind regards,
Sebastian
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
CabinetZulian
Top achievements
Rank 1
answered on 10 Mar 2010, 08:10 PM
Hi,

It seems to be the same issue than our post : http://www.telerik.com/community/forums/aspnet-ajax/ajax/infinite-radajaxloadingpanel-issue.aspx ?

Since the issue exiss with latest online samples it seems to be a different one, thanks to Telerik to confirm this ?

Best regards,
0
Iana Tsolova
Telerik team
answered on 11 Mar 2010, 03:53 PM
Hello CabinetZulian,

Please find our answer to your question in the other thread you have posted on this subject.

All the best,
Iana
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
Owen
Top achievements
Rank 1
answered on 18 Jan 2012, 10:38 PM
I'm having same issue with loading panel not disappearing.  My controls are set up very much like what Clayton described above back in 2008.  I'm using version 2011.3.1115.35.  Can you help fix it for good or point me to the fix?  Thanks
0
Iana Tsolova
Telerik team
answered on 19 Jan 2012, 09:06 AM
Hi Owen,

The issue you are facing is not a common issue, though the most possible reason for it are wrong ajax settings or improper loading of the dynamic user controls. That is why you be able to help you fix it, we will need a runnable version of the which we can debug. Can you open a formal support ticket and send as the page and the user controls there? Or paste the code which we can use to replicate it here.

Greetings,
Iana Tsolova
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
Frank
Top achievements
Rank 1
answered on 07 Mar 2012, 08:52 PM
I am experiencing a similar problem in that the RadAjaxLoadingPanel stays up indefinitely after the response returns.

I am using the 2012.1.215.35 version of the controls and have an interesting context in which the code is running.

I have a ModalPopUpExtender open and inside I have a RadGrid.  Within the grid I am tying the buttons inside my templates to the RadAjaxManager programmatically.

protected void rgTrngEvtSessions_ItemDataBound(object sender, GridItemEventArgs e) {
            /*** Disabled due to the RadAjaxLoadingPanel occasionally sticking on the page
            ImageButton imb = null;
            if (e.Item.FindControl("imbTrngEvtAdd") != null) {
                imb = (e.Item.FindControl("imbTrngEvtAdd") as ImageButton);
                ramTrngManagement.AjaxSettings.AddAjaxSetting(imb, pnlTrngEvtSessions);
            }
           ***/
}

For whatever reason, the panels are appearing just fine, but sometimes (intermittently) they won't disappear.

Any help is much appreciated.
0
Iana Tsolova
Telerik team
answered on 12 Mar 2012, 09:02 PM
Hello Brian,

Is it possible that some javascript error occurs in these cases? This can be preventing the page execution to finish successfully and thus the code for hiding the loading panel is not called.

Kind regards,
Iana Tsolova
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
Frank
Top achievements
Rank 1
answered on 13 Mar 2012, 06:41 PM
I have not seen any JavaScript errors display on the page when the loading image hangs. The page appears to have completed the response without error, just the loading image intermittently doesn't go away.
0
Iana Tsolova
Telerik team
answered on 16 Mar 2012, 09:00 AM
Hello Brian,

Do you have a live Url which we can use to see the issue? We might need steps to replicate.
The other way to help you troubleshoot the issue, is to send us a sample showing it in a Support ticket.

Greetings,
Iana Tsolova
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
Richard
Top achievements
Rank 1
answered on 19 Apr 2012, 06:45 AM
Hi,
I'm having a similar issue but it only seems to be happening when I deploy to the server.  When I run it locally in visual studio it works fine.  When it does break there isn't any JavaScript errors showing up it just doesn't disappear.  The Telerik assemblies I'm using on the deployed website are the same as the local ones I'm using so I don't think it's a version issue.  My only thought is it's some kind of IIS peculiarity.  The site is running on IIS v6.1 on .Net 4.0.  Anyone have any thoughts? 

Version of "Telerik.Web.UI.dll" is 2011.2.915.35
0
Iana Tsolova
Telerik team
answered on 21 Apr 2012, 10:50 AM
Hello Richard,

Can you let us know what is the JavaScript error?
Also, if the web site is running under .NET 4.0, you need to use the .NET 4.0 dlls, e.g. Telerik.Web.UI.dll version should be 2011.2.915.40. You can find the .NET 4.0 dlls in the installation folder of RadControls for ASP.NET AJAX on your machine.

Greetings,
Iana Tsolova
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
Richard
Top achievements
Rank 1
answered on 07 May 2012, 02:34 AM
Hi Iana,

Sorry, I said I wasn't getting any kind of javascript error it just fails to go away when the async postback completes.  I also tried updating the dll to the Version 4.0 one which had no effect then I updated my project to the 2012 Q1 dlls as well which also didn't help at all unfortunately.  I'm really stumped by this as it works perfectly running locally so it's more difficult to debug when it only happens when it's deployed to the remote server. 

The only thing I can think of trying is the web.config because that is also different to the local one but it seems to need to be for a host of reasons.  I'll try to make it more like the local one see if that makes a difference.  Is there anything in the web.config you can think of that would cause this kind of thing to happen? :

<?xml version="1.0" encoding="UTF-8"?>
<!--
    Note: As an alternative to hand editing this file you can use the
    web admin tool to configure settings for your application. Use
    the Website->Asp.Net Configuration option in Visual Studio.
    A full list of settings and comments can be found in
    machine.config.comments usually located in
    \Windows\Microsoft.Net\Framework\v2.x\Config
-->
<configuration>
<location path="Telerik.Web.UI.WebResource.axd">
   <system.web>
     <authorization>
       <allow users="*"/>
     </authorization>
   </system.web>
</location>
    <system.web>
        <!--
            Set compilation debug="true" to insert debugging
            symbols into the compiled page. Because this
            affects performance, set this value to true only
            during development.
 
            Visual Basic options:
            Set strict="true" to disallow all data type conversions
            where data loss can occur.
            Set explicit="true" to force declaration of all variables.
        -->
        <compilation debug="true" strict="false" explicit="true">
            <assemblies>
                <add assembly="System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
                <add assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
                <add assembly="System.Data.DataSetExtensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
                <add assembly="System.Xml.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
            </assemblies>
        </compilation>
        <pages>
            <namespaces>
                <clear />
                <add namespace="System" />
                <add namespace="System.Collections" />
                <add namespace="System.Collections.Generic" />
                <add namespace="System.Collections.Specialized" />
                <add namespace="System.Configuration" />
                <add namespace="System.Text" />
                <add namespace="System.Text.RegularExpressions" />
                <add namespace="System.Linq" />
                <add namespace="System.Xml.Linq" />
                <add namespace="System.Web" />
                <add namespace="System.Web.Caching" />
                <add namespace="System.Web.SessionState" />
                <add namespace="System.Web.Security" />
                <add namespace="System.Web.Profile" />
                <add namespace="System.Web.UI" />
                <add namespace="System.Web.UI.WebControls" />
                <add namespace="System.Web.UI.WebControls.WebParts" />
                <add namespace="System.Web.UI.HtmlControls" />
            </namespaces>
            <controls>
                <add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
                <add tagPrefix="asp" namespace="System.Web.UI.WebControls" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
        <add tagPrefix="telerik" namespace="Telerik.Web.UI" assembly="Telerik.Web.UI" />
            </controls>
        </pages>
        <!--
            The <authentication> section enables configuration
            of the security authentication mode used by
            ASP.NET to identify an incoming user.
        -->
        <authentication mode="Windows" />
        <!--
            The <customErrors> section enables configuration
            of what to do if/when an unhandled error occurs
            during the execution of a request. Specifically,
            it enables developers to configure html error pages
            to be displayed in place of a error stack trace.
 
        <customErrors mode="RemoteOnly" defaultRedirect="GenericErrorPage.htm">
            <error statusCode="403" redirect="NoAccess.htm" />
            <error statusCode="404" redirect="FileNotFound.htm" />
        </customErrors>
        -->
        <httpHandlers>
            <remove verb="*" path="*.asmx" />
            <add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
            <add verb="*" path="*_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
            <add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" validate="false" />
      <add path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" validate="false" />
        </httpHandlers>
        <httpModules>
            <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
        </httpModules>
    </system.web>
    <system.codedom>
        <compilers>
            <compiler language="c#;cs;csharp" extension=".cs" warningLevel="4" type="Microsoft.CSharp.CSharpCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
                <providerOption name="CompilerVersion" value="v3.5" />
                <providerOption name="WarnAsError" value="false" />
            </compiler>
            <compiler language="vb;vbs;visualbasic;vbscript" extension=".vb" warningLevel="4" type="Microsoft.VisualBasic.VBCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
                <providerOption name="CompilerVersion" value="v3.5" />
                <providerOption name="OptionInfer" value="true" />
                <providerOption name="WarnAsError" value="false" />
            </compiler>
        </compilers>
    </system.codedom>
    <!--
        The system.webServer section is required for running ASP.NET AJAX under Internet
        Information Services 7.0.  It is not necessary for previous version of IIS.
    -->
    <system.webServer>
        <validation validateIntegratedModeConfiguration="false" />
        <modules>
            <remove name="ScriptModule" />
            <add name="ScriptModule" preCondition="managedHandler" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
        </modules>
        <handlers>
            <remove name="WebServiceHandlerFactory-Integrated" />
            <remove name="ScriptHandlerFactory" />
            <remove name="ScriptHandlerFactoryAppServices" />
            <remove name="ScriptResource" />
            <add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
            <add name="ScriptHandlerFactoryAppServices" verb="*" path="*_AppService.axd" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
            <add name="ScriptResource" preCondition="integratedMode" verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
            <add name="Telerik.Web.UI.WebResource"  path="Telerik.Web.UI.WebResource.axd" verb="*" type="Telerik.Web.UI.WebResource, Telerik.Web.UI" />
 
        </handlers>
    </system.webServer>
    <runtime>
        <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
            <dependentAssembly>
                <assemblyIdentity name="System.Web.Extensions" publicKeyToken="31bf3856ad364e35" />
                <bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0" />
            </dependentAssembly>
            <dependentAssembly>
                <assemblyIdentity name="System.Web.Extensions.Design" publicKeyToken="31bf3856ad364e35" />
                <bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0" />
            </dependentAssembly>
        </assemblyBinding>
    </runtime>
</configuration>
0
Iana Tsolova
Telerik team
answered on 08 May 2012, 10:14 AM
Hello Richard,

The web.config looks fine to me. However as this is .NET 3.5. web.config, you definitely need the .NET 3.5 dlls of the Telerik.Web.UI, not the 4.0 ones.
Can you give me a live Url where I can observe the issue? If you cannot share the link, etc.in the public forums, you can open a formal support ticket for that purpose.

Regards,
Iana Tsolova
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
Gustavo
Top achievements
Rank 1
answered on 08 Feb 2014, 01:20 AM
I have the same problem.randomly, seems that the response end is not finishing because go and back to the server but the panel isn't updated and the loadingpanel never hidde. Not return any error.
I don't know what can i do to fix it.
0
Maria Ilieva
Telerik team
answered on 12 Feb 2014, 11:25 AM
Hi Gustavo,

As this thread is rather old and since the last reply we have made several improvements int he RadAjax behavior it would be best if you could open s separate forum post/support ticket which presents the exact scenario you have and the problematic behavior you are facing. Thus we will be able to concentrate ion your specific case and advise you further.

Regards,
Maria Ilieva
Telerik
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 UI for ASP.NET AJAX, subscribe to the blog feed now.
0
Martin
Top achievements
Rank 1
answered on 08 Jul 2014, 05:43 PM
I will bump this topic as the problem is still persisting in Product Version 2013.1.220.40
Randomly, the RadAjaxLoadingPanel1 stays on, since the page is covered user is locked out of the page. This is very serious, as it forcing the user to go in and out of the system, which is time consuming.
There is no issue with the setup because it works, most of the time, but sometimes at random it just does not work.

    <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" Skin="Silk"
        AnimationDuration="500" BackgroundPosition="Top">
0
Maria Ilieva
Telerik team
answered on 11 Jul 2014, 12:51 PM
Hello Martin,

The most common source of the presented behavior is a error that appears on the page, prevents the OnResponseEnd client event to fire and therefore the RadAjaxLoadingPanel could does not have an event to hide on.
I would suggest you to inspect the server response in the browser console and verify if any errors appear.

Regards,
Maria Ilieva
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.

 
0
Martin
Top achievements
Rank 1
answered on 14 Jul 2014, 01:23 PM
I was able to reproduce the error, this is how I did it. I constantly pressed the refresh button, very fast, and the animation would not want to go away.  So the spinning wheel was not going away. I've resolved this by removing altogether the property AnimationDuration="500".
0
Maria Ilieva
Telerik team
answered on 15 Jul 2014, 11:07 AM
Hello Martin,

The issue you are facing is caused by the fast subsequent ajax request executed. Note that by design, the ASP.NET AJAX Framework cancels the ongoing AJAX request if you try to initiate another one prior to receiving the response from the first one.In this case the ResponseEnd client event will not fire for the terminated request and this is leading to the presented behavior.
To change this behavior, you can set the RequestQueueSize property to a value greater than zero, which enables the queueing mechanism of RadAjax, and will allow you to complete the ongoing request and then initiate the pending requests in the control queue.

Regards,
Maria Ilieva
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.

 
0
Sharad
Top achievements
Rank 1
answered on 18 Feb 2016, 05:39 AM

Page Hangs Before Response End...showing RadAjax LoadingPanel Hags...Please suggest.

 

0
Maria Ilieva
Telerik team
answered on 22 Feb 2016, 12:56 PM
Hi Sharad,

Can you please elaborate a bit more on your scenario an the exact problem you are currently facing? Thus we will be bale to revise your case lo9cally and advise you further.

Regards,
Maria Ilieva
Telerik
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 Feedback Portal and vote to affect the priority of the items
0
Zakaria
Top achievements
Rank 1
answered on 19 Feb 2020, 05:22 PM

Hi All, I have the same problem in 2020. It works perfect locally, but in a remote server, it stuck frequently in loading panel.

target 4.5.1

Telerik version : 2017.2.503.45

Tags
Ajax
Asked by
John Rogowski
Top achievements
Rank 1
Answers by
Clayton
Top achievements
Rank 2
Rosen
Telerik team
Doug Beard
Top achievements
Rank 2
Vlad
Telerik team
John Rogowski
Top achievements
Rank 1
Sebastian
Telerik team
Albert Shenker
Top achievements
Rank 1
Veteran
CabinetZulian
Top achievements
Rank 1
Iana Tsolova
Telerik team
Owen
Top achievements
Rank 1
Frank
Top achievements
Rank 1
Richard
Top achievements
Rank 1
Gustavo
Top achievements
Rank 1
Maria Ilieva
Telerik team
Martin
Top achievements
Rank 1
Sharad
Top achievements
Rank 1
Zakaria
Top achievements
Rank 1
Share this question
or