Abord loading data when the user click on a link

2 posts, 1 answers
  1. Jérémy
    Jérémy avatar
    11 posts
    Member since:
    Dec 2013

    Posted 21 Jul Link to this post

    Hi everyone,

     

    In a page I have several charts/grids that takes a while to load (because the data are manipulated before the rendering), so there is no issue with the Telerik component here.
    My issue is: I'm on the page and the charts/grids are loading, if I click on a link that redirect to an other page of my application and if the charts/grids are still loading I'm not directly redirect to the other page. I think that the page is waiting for the charts/grids to be 100% rendered before redirecting me to the other page. So, sometimes, I need to wait for about 10-15 seconds (because of the manipulation of data server side) to be redirected to the other page.

    Is there any solution to stop the rendering of the charts/grids when I click on a link ?

     

    Thank you in advance for your response.

  2. Answer
    Dimo
    Admin
    Dimo avatar
    8333 posts

    Posted 25 Jul Link to this post

    Hello Jérémy,

    I am afraid there is no built-in way to abort Ajax requests initiated by Kendo UI widgets. However, you can try using the approach described in the following forum post:

    http://www.telerik.com/forums/cancelling-grid-data-read-ajax-request#LVkMoNDCLEuuxceAtIxUzA

    Regards,
    Dimo
    Telerik by Progress
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  3. UI for ASP.NET MVC is VS 2017 Ready
Back to Top