Forum Post: Re: Kendo Ui Reorderable Tabstrip Tabs

  • Thread starter Thread starter Mohammed Siraj
  • Start date Start date
Status
Not open for further replies.
M

Mohammed Siraj

Guest
Meryem, in your solution you were not calling tabStrip._updateClasses(); , at the end of dragEnd function. Once you do that .k-content div's are correctly tagged to Tab Item's. However, for ajax loading tab contents we also keep track of tab index on server-side, hence, once you re-order tab's (which were not already loaded), on selection they will load incorrect content. To correct this behavior: Disable ajax loading of tab-content i.e. tab content will be loaded at page refresh & not on tab-selection. Note that this may degrade performance especially if you have many tabs on the page. Else, make sure that each tab is selected/loaded atleast once before you enable re-ordering by making tabstrip draggable.

Continue reading...
 
Status
Not open for further replies.
Back
Top