Kendo UI MVC 2023.1.117 Tabstrip still producing old state class k-state-active

1 Answer 211 Views
TabStrip
Christian
Top achievements
Rank 1
Iron
Christian asked on 03 Mar 2023, 12:52 AM

Hi there,

I recently updated our Kendo files inside our MVC application to version 2023.1.117. And I found an issue on Kendo Tabstrip: that when we setup the default index using .SelectedIndex(0), the tabstrip would setup k-state-active class into the targeted tab instead of the newer k-active class. The same thing happen if we set the .selected(True) at the tabitems.

This is causing problem with the styling and tab content display because of when we start navigating to another tab via clicking, the code won't clear up the k-state-active class. Thus there'll be always 2 active state. Is this a bug from the latest version or is there something that I missed?

Strangely enough, when I checked the MVC demo page of tabstrip, the code won't produce k-state-active class at all. I assume your demo is using the latest version of your code. Why the difference? Cheers.

1 Answer, 1 is accepted

Sort by
0
Accepted
Christian
Top achievements
Rank 1
Iron
answered on 06 Mar 2023, 11:12 PM
Managed to identified the issue. I missed updating the Telerik.UI.for.AspNet.Core Nuget Package to version 2023.1.117 as well. Thus the occurrence of old k-state-active class.
Tags
TabStrip
Asked by
Christian
Top achievements
Rank 1
Iron
Answers by
Christian
Top achievements
Rank 1
Iron
Share this question
or