Hello,
When the edit mode is used for other controls, we are given the option to select a template that resides inside of the ~/Views/Shared/EditorTemplates/ folder.I would like to be able to select a template that would be used to display each of the records for this control as well instead of relying on .ClientTemplateId(). Is this currently possible?
For instance, I would like to be able to select the template located at ~/Views/Shared/Templates/ChannelCard.cshtml by doing the following:
@(Html.Kendo().ListView<NotificationSystem.Data.Models.ChannelCard>()
.Name(
"channels"
)
.TagName(
"ul"
)
.TemplateName(
"ChannelCard"
)
.DataSource(dataSource => dataSource
.Ajax()
.Read(read => read.Action(
"Read"
,
"Channels"
).Data(
"bindSearch"
))
.PageSize(20)
)
.Pageable()
.HtmlAttributes(
new
{@
class
=
"channel-list"
})
.Deferred()
)