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

[Solved] [BUG] Multiple "loading" animations???

1 Answer 90 Views
TabStrip
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Joan Vilariño
Top achievements
Rank 2
Joan Vilariño asked on 13 Oct 2010, 11:40 AM
Hi

I have a tabsrip with several .LoadFromContent tabs. Most of these contain complicated forms that take some seconds to load...

For example, I load the page and Tab1 starts to load, displaying the loading animation. if before the content is loaded I clic on Tab2, and then again click on Tab1, another loading animation is added, having two of them in the same tab... this process repeats as much times as you click other tab, then click the first tab again while its loading.

I hope I made myself clear...

Cheers

EDIT: Taking a closer look I found it's not only the loading animation, but the LoadFromContent ajax call that is made everytime I click on the tab while its loading... this should be fixed as i could event break server by clicking lots of times on the same tab while its loading... that would make N ajax calls to the server...

1 Answer, 1 is accepted

Sort by
0
Alex Gyoshev
Telerik team
answered on 18 Oct 2010, 12:17 PM
Hello Joan,

Great feedback! Thank you very much, the issue has been fixed for upcoming builds. You can patch it in your code by adding the following at the top of the TabStrip ajaxRequest method:

    if ($element.find('.t-loading').length)
        return;


Your Telerik points have been updated.

Sincerely yours,
Alex Gyoshev
the Telerik team
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 Public Issue Tracking system and vote to affect the priority of the items
Tags
TabStrip
Asked by
Joan Vilariño
Top achievements
Rank 2
Answers by
Alex Gyoshev
Telerik team
Share this question
or