Ajax Loader Just Spins

6 posts, 0 answers
  1. Jack
    Jack avatar
    143 posts
    Member since:
    May 2003

    Posted 27 Nov 2018 Link to this post

    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

     

  2. Peter Milchev
    Admin
    Peter Milchev avatar
    616 posts

    Posted 28 Nov 2018 Link to this post

    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

  3. Jack
    Jack avatar
    143 posts
    Member since:
    May 2003

    Posted 10 Dec 2018 in reply to Peter Milchev Link to this post

    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

     

     

  4. Peter Milchev
    Admin
    Peter Milchev avatar
    616 posts

    Posted 13 Dec 2018 Link to this post

    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.
  5. Jack
    Jack avatar
    143 posts
    Member since:
    May 2003

    Posted 30 Dec 2018 in reply to Peter Milchev Link to this post

    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

     

     

  6. Vessy
    Admin
    Vessy avatar
    2068 posts

    Posted 31 Dec 2018 Link to this post

    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.
Back to Top