This question is locked. New answers and comments are not allowed.
Would like to be able to have a grid with a column of sliders:
This code results in the first row containing a Telerik Slider but every row after that containing a default html slider with no formatting.
After stepping through the server side .aspx generation it appears that columns.Template is only being called once which is expected but leaving me a bit puzzled on how to do this.
Any help would be greatly appreciated!
Attached is a screenshot of the grid I am seeing.
<% Html.Telerik().Grid<LineItem>(lineItems) .Name("Grid") .Columns(columns => { columns.Template(item => { // checkbox markup }).Title(""); columns.Bound(c => c.Name); columns.Template(item => Html.Telerik().SliderFor(o => item.AveragePrice).Min(item.MinimumPrice)
.Max(item.MaximumPrice)).Title("Your price"); }) .Groupable(builder => builder.Groups(factory => factory.Add(o => o.LineItemCategory.Name)).Visible(false)) .BindTo(lineItems) .Render();
%>This code results in the first row containing a Telerik Slider but every row after that containing a default html slider with no formatting.
After stepping through the server side .aspx generation it appears that columns.Template is only being called once which is expected but leaving me a bit puzzled on how to do this.
Any help would be greatly appreciated!
Attached is a screenshot of the grid I am seeing.