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

(Second/phantom?) Loading Panel stays 'on'

3 Answers 74 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Steve Bywaters
Top achievements
Rank 1
Steve Bywaters asked on 04 Jun 2010, 01:16 AM
Anyone who's interested - try this test page (a cut-down of my original problem page):

http://access.videoezy.com.au/LSM/TestTemplate.aspx

Play with the 'Stores' DDL a couple of times - do you get a Loading Panel that stays on?

This only happened when I went from the 2007 controls (Telerik's own Ajax) to the 2010 controls (v2010.1.309.20).
It uses an RadAjaxMgr on the page...the Stores DDL is a User Control, using Dynamic Invoke of a method on the main page.
ALL Ajax assignments in the main page are dynamic... the table below the DDL is all dynamic controls (constructed from metadata).
There is NO Ajax assignment inside the User Control.

To try and resolve this, I have tried the use of ResponseStart and ResponseEnd JS functions, and then debugging the script to trace this: on debug, I saw this sequence:
  1. I changed the Store DDL setting
  2. program reaches the breakpoint in RequestStart;
  3. press F5 to continue, and the loading panel appears....(ok)
  4. .. and the program reaches the breakpoint in ResponseEnd
  5. press F5 to continue, and PART of the loading panel (or one of the two panels) disappears - i.e.part of (or one of the two) the loading panel remains stuck 'on'.

Have a support ticket open, but we're getting nowhere. One problem may be that the support person doesn't see this issue when she tries it - but I do and my clients do!

Happens in IE and in FF too.

Any insights?
Steve

3 Answers, 1 is accepted

Sort by
0
SamJ
Top achievements
Rank 1
answered on 07 Jun 2010, 11:38 AM
Hi Steve,

I tested your page, but are you sure you did not forget to add the loading panel? I can see that the DDL is performing callback, but no loading panel was displayed on the page.

Regards,
Sam
0
Steve Bywaters
Top achievements
Rank 1
answered on 08 Jun 2010, 12:28 AM
Apologies, Sam - I was 'fiddling' and left it in a non-operational state.

Please try again now - after the second change of Store in the DDL, you should see the Loading Panel lock 'on', in both IE and FF

cheers
Steve


0
Steve Bywaters
Top achievements
Rank 1
answered on 08 Jun 2010, 02:32 AM
I appear to have stumbled on the answer.... in my Loading Panel (below)...

  <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server"   
          InitialDelayTime="150" MinDisplayTime="500"     
          BackColor="#F8F8F8" Transparency="30">  
       <asp:Image ID="Image1" runat="server" AlternateText="Loading..."   
          ImageUrl="~/LSM/Images/Telerik/loading2.gif" />  
   </telerik:RadAjaxLoadingPanel>  

... if I just  REMOVE MinDisplayTime="500"  then all is well!!!

HTH


Tags
Ajax
Asked by
Steve Bywaters
Top achievements
Rank 1
Answers by
SamJ
Top achievements
Rank 1
Steve Bywaters
Top achievements
Rank 1
Share this question
or