Reputation: 18181
I have a kendo UI tab, and each tab is binding to an Ajax function. I want my tab to fire ajax call to get fresh content every time the tab is changed, not just the first time. Is there a configuration or recommended way that I can achieve this?
Upvotes: 1
Views: 8544
Reputation: 20203
Hello this could be easily through the reload method of the TabStrip.
var ts = $(tabstrip).data().kendoTabStrip
ts.tabGroup.on('click','li',function(e){
ts.reload($(this));
})
Upvotes: 6