I have a grid with an InCell edit and I have one of the columns as a dropdown list and I'm implementing this using EditorTemplateName. I'm getting the dropdown list populated but how do I have the default value of the dropdown selected to the bound column value? Now I just get a dropdown on clicking the cell with all the values populated and the default selected value is blank.
My Editior Template :
@model IEnumerable<AMCUpfrontTracker2.Models.Agency_Ref>
@(Html.Kendo().DropDownListFor(m => m)
.DataValueField("AgencyID")
.DataTextField("AgencyName")
.BindTo((System.Collections.IEnumerable)ViewData["Agencies"])
)