This question is locked. New answers and comments are not allowed.
Html.Telerik().Grid<ADTO>()
.Name("Grid")
.Editable(editing => editing.Mode(GridEditMode.InCell)
.DefaultDataItem(new ADTO
{
Name = selectedFeatureName <= "this need to be from the javascript variable selectedFeatureName
below",
})
......
<script type="text/javascript">
var selectedFeatureName; <== this is the variable the need to be moved to the Name field above.
.Name("Grid")
.Editable(editing => editing.Mode(GridEditMode.InCell)
.DefaultDataItem(new ADTO
{
Name = selectedFeatureName <= "this need to be from the javascript variable selectedFeatureName
below",
})
......
<script type="text/javascript">
var selectedFeatureName; <== this is the variable the need to be moved to the Name field above.