Hey guys,
I got the problem that "ContentHtmlAttributes" are not applied when loading with "LoadContentFrom".
Same problem as in this thread, but that one is old and was posted in community forum.
My TabStrip:
@(Html.Kendo().TabStrip()
.Name("tabStripNav")
.Items(x =>
{
x.Add()
.Text("Header 1")
.ContentHtmlAttributes(new { style = "background-color: red !important;" })
.LoadContentFrom("Action1", "Controller", new{itemId = Model.Id});
x.Add()
.Text("Header 2")
.LoadContentFrom("Action2", "Controller", new{itemId = Model.Id});
x.Add()
.Text("Header 3")
.LoadContentFrom("Action3", "Controller", new{itemId = Model.Id});
})
)
Am I doing anything wrong here?
Best regards
Nils