Are there any asp.net core examples for embedding controls in a grid? I am trying to show a progressbar along with my row data. The data fields display fine, but not the progress bar. I've attached a couple screen images - one showing a list version of what I am trying to do and the second of my results. Here is how my grid is setup:
@(Html.Kendo().Grid<ITFactory.Models.ChartModels.FeatureProgress>()
.Name("FeatureProgress")
.DataSource(dataSource => dataSource
.Ajax()
.PageSize(10)
.Read(read => read
.Action("GetFeatureProgress", "Dashboards")
.Data("FeatureProgressFilter")
)
)
.Columns(columns =>
{
columns.Bound(c => c.FeatureName);
columns.Bound(c => c.EstimatedCardCount);
columns.Bound(c => c.CompletedCardCount);
columns.Template(" ").Title("ProgressBar");
})
.ClientRowTemplate(
"<tr>" +
"<td>" +
"#:FeatureName#" +
"</td>" +
"<td>" +
"#: EstimatedCardCount#" +
"</td>" +
"<td>" +
"#: CompletedCardCount#" +
"</td>" +
"<td>" +
"@(Html.Kendo().ProgressBar()" +
".Name(Progress#:FeatureName#)" +
".Type(ProgressBarType.Percent)" +
".Max(#: EstimatedCardCount#)" +
".Value(#: CompletedCardCount#))" +
"</td>" +
"</tr>"
)
.Sortable()
)