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

Abord loading data when the user click on a link

1 Answer 34 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Jérémy
Top achievements
Rank 1
Jérémy asked on 21 Jul 2016, 01:03 PM

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.

1 Answer, 1 is accepted

Sort by
0
Accepted
Dimo
Telerik team
answered on 25 Jul 2016, 02:13 PM
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
Tags
General Discussions
Asked by
Jérémy
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Share this question
or