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

LoadingPanel Image Stops Spinning

7 Answers 252 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
David
Top achievements
Rank 1
David asked on 16 May 2008, 12:33 AM
Not sure why this is occuring.

LoadingPanel has a spinning circle (standard Telerik) -  stops while
the grid is loading. 

David

7 Answers, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 16 May 2008, 11:55 AM
Hi David,

In which browser do you experience the described behavior? Does the image rotate at the beginning of the AJAX request?

Are you able to reproduce the scenario in some of our online demos, e.g.

http://telerik.com/demos/aspnet/prometheus/Grid/Examples/DataEditing/AllEditableColumns/DefaultCS.aspx

(click on "Edit")

I suppose that the animated gif stops rotating when the browser starts redrawing the page. However, I can't tell why this takes longer than usual.

Looking forward to receiving more information.


Sincerely yours,
Dimo
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
David
Top achievements
Rank 1
answered on 16 May 2008, 04:10 PM
It's in IE 6.0.

The DataSource that feeds the RadGrid has a lot of data to retrieve. 

Maybe that has something to do with it?

Do you have an example, or can you create one where the grid takes a long
time to load.

I'd provide the source but it's proprietary.

Thank you,

David
0
Sebastian
Telerik team
answered on 17 May 2008, 07:07 AM
Hi David,

Do you utilize the paging feature of RadGrid when having large amount of records in it? I tried to reproduce the discrepancy on these online demos but to no avail:

http://www.telerik.com/DEMOS/ASPNET/Prometheus/Grid/Examples/GeneralFeatures/Paging/DefaultCS.aspx
http://www.telerik.com/DEMOS/ASPNET/Prometheus/Grid/Examples/GeneralFeatures/ASPNET35/DefaultCS.aspx

Best regards,
Stephen
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Arick
Top achievements
Rank 1
answered on 22 May 2008, 11:23 PM
I'm curious to know if you were ever able to resolve this issue or not?  I'm experiencing the same problem where the loading image displays but no movement happens on my grid. 

I'm utilizing paging as I have around 4000 records that are being returned from my database. My grid is being created dynamically in my code behind.  When I move from page to page or expand child records I get the same behavior.  Even when I'm only returning 10 records I still get the same behavior.

Could this be caused because the grid is being re-drawn every time in the page_init?
0
David
Top achievements
Rank 1
answered on 22 May 2008, 11:46 PM
This is a bit off the subject:
A couple of things.  The Grid Itself seems to load very fast.  If you have mutiple DatePicker controls, then you may want to use a SharedCalendar, see
previous article: http://www.telerik.com/DEMOS/ASPNET/Calendar/Examples/Design/Sunny/DefaultCS.aspx which is referenced from: http://www.telerik.com/community/forums/thread/b311D-bamaec.aspx

Are you working with a pnlForm.  The Form loading the controls is what is slow.  But it is not that slow.  It is EXTREMELY slow if you have the following setting DISABLED:   Disable Script Debugging, in Internet Explorer 6.0 under advanced settings. 

You may also want to try swapping your telerik controls for standard ASP controls.

I'm not addressing your question though.  This doesn't effect the general operation of the Spinner.  The Spinner itself just stops  --  like it can't do a DoEvents -  it doesn't seem to work properly in some cases.      What I'm referring to is a general slow down in loading time of the Form.   

I had Ajax hooked from the SearchPanel to the Grid and the FormPanel.  When I disengaged it from the FomPanel it worked very quickly.  So it wasn't the Grid causing that problem. 

It's possible the spinner problem could be caused because the Grid is drawn each time in the Page-Init,  but I don't know that much about it but I'll look into that and get back to you.

David

0
Arick
Top achievements
Rank 1
answered on 23 May 2008, 12:30 AM
Thank you for that response.  The issue like you mentioned is as if it can't handle the DoEvents.  I've also experienced this on a few other pages that did not contain the grid.  For example a Window when re-loading the RadComboBox, while that is loading it, the spinner does not move either. 

A little bit more background on my environment, I'm using DotNetNuke on the front end to create custom Modules, with a SQL Server, Stored Procs and internal objects to my project.  The data returned is always returned to a List<T> and that list is used to populate any control on the page. .Net 2.0, Telerik Ajax Controls. 
0
David
Top achievements
Rank 1
answered on 23 May 2008, 04:03 PM
I work in a similar environment.

I'll keep you posted if I learn anything new.

Thank you for your interest and feedback,

David
Tags
Ajax
Asked by
David
Top achievements
Rank 1
Answers by
Dimo
Telerik team
David
Top achievements
Rank 1
Sebastian
Telerik team
Arick
Top achievements
Rank 1
Share this question
or