Hello,
I have a panel bar with just one item. Once I have expanded it and then collapse it the highlight is still there. Using firebug I can see that the "k-state-selected" class is still applied. When I collapse I want it to go back to the original styling as if it was never expanded.
Please advise how I can accomplish this using the following example - preferable without having to manually remove the styling using Jquery as my implementation will be dynamic so I will not know what the IDs additionally I will have multiple panelbars on the page some of which may be open.
Thanks,
Carrie
I have a panel bar with just one item. Once I have expanded it and then collapse it the highlight is still there. Using firebug I can see that the "k-state-selected" class is still applied. When I collapse I want it to go back to the original styling as if it was never expanded.
Please advise how I can accomplish this using the following example - preferable without having to manually remove the styling using Jquery as my implementation will be dynamic so I will not know what the IDs additionally I will have multiple panelbars on the page some of which may be open.
Thanks,
Carrie
@(Html.Kendo().PanelBar()
.Name("IntroPanelBar")
.Items(items =>
{
items.Add()
.Text("Getting Started")
.Content(@<
text
>
Just some random content
</
text
>);
})
)