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

Ajax Loader Just Spins

5 Answers 58 Views
Gantt
This is a migrated thread and some comments may be shown as answers.
Jon
Top achievements
Rank 1
Jon asked on 27 Nov 2018, 08:23 AM

Hi guys,

No idea what's happening here. Been trying to fix for a week.

It was working great last week but now when a new task is clicked, the ajax loading image just keeps spinning. While it's spinning, if I refresh the page straight away, I can see that the record has gone into the database and it shows up in the chart.

I read on a couple of other posts about this scenario, but could not find a fix.

Cheers,

Jon

 

5 Answers, 1 is accepted

Sort by
0
Peter Milchev
Telerik team
answered on 28 Nov 2018, 07:24 AM
Hello Jon,

The behavior you are describing is most commonly due to a JavaScript error. Check the Browser console for more information and also you can inspect any failed requests as explained in the Inspect Network Requests section.

Also, you can temporarily disable the AJAX in order to get more meaningful errors as explained in https://www.telerik.com/support/kb/aspnet-ajax/ajaxmanager/details/how-to-disable-ajax-temporarily.

Regards,
Peter Milchev
Progress Telerik

0
Jon
Top achievements
Rank 1
answered on 10 Dec 2018, 12:03 PM

Thank you Peter,

I've been at this for ages but to no avail and I couldn't find any script errors.
There is no way to disable ajax on this control - not one that I have found.
Strangely I have now just added all of the server side methods to the code behind - all of them with no code in and now it works.

Might you know what is going on please?

Thank you,
Jon

 

 

0
Peter Milchev
Telerik team
answered on 13 Dec 2018, 11:51 AM
Hello Jon,

This is a strange solution but we are still unable to provide an explanation for it. 

What you can try is opening the browser console with F12 and then refresh the page. This will persist the errors and will allow you to see them if there are any. 

If the issue is still observed, please prepare a simple project replicating it and send it to us as an attachment in an official support ticket. That would allow us to investigate locally and help you more efficiently. 

Once we have a closure in the support ticket, we can share it here for convenience and better visibility from the community.

Regards,
Peter Milchev
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
0
Jon
Top achievements
Rank 1
answered on 31 Dec 2018, 03:16 AM

Dear Peter,

Many thanks for all your help and support!
I've finally tracked down the culprit. I had enableEventValidation="false" in the web.config.

Everything is as it should be now.

Cheers,

Jon

 

 

0
Vessy
Telerik team
answered on 31 Dec 2018, 08:18 AM
Hi,

Thanks a lot for the update, Jack - we are glad you have managed to achieve the target result.

Regards,
Vessy
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
Gantt
Asked by
Jon
Top achievements
Rank 1
Answers by
Peter Milchev
Telerik team
Jon
Top achievements
Rank 1
Vessy
Telerik team
Share this question
or