I am using a ListView on .Net Core 2.0 the problem is the TagName attribute, no matter what i write inside it, it always render inside a div, here is my code, all works as expected except the TagName. The client template works, but i have <li> inside <div> instead of <ul>, html attributes render correctly.
Anyone knows where i am doing wrong?
@(Html.Kendo().ListView<MyModel>()
.Name(
"LV_Notifiche"
)
.TagName(
"ul"
)
.HtmlAttributes(
new
{ @
class
=
"dropdown-menu-list scroller"
, style =
"height: 250px;"
})
.ClientTemplateId(
"notificaTemplate"
)
.DataSource(dataSource => dataSource
.Ajax()
.ServerOperation(
false
)
.Read(read => read.Action(
"Notifiche_Read"
,
"Notification"
))
)
.Deferred()
)