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.
5 Answers, 1 is accepted
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.
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?
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.
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.
Thanks a lot for the update, Jack - we are glad you have managed to achieve the target result.