This question is locked. New answers and comments are not allowed.
Hi all,
I am having some confusion with radgrid and telerik dropdown list. I have a telerik radgrid and I am using Editor templates for filling dropdown inside grid. All working fine. But now I need to be row specific on editing. Means same dropdown with different values need to be filled . I tried to use the onEdit client event and I got the drop down's object there. But what should I do next. Is there any other way for doing this? Here is my Editor template
I am having some confusion with radgrid and telerik dropdown list. I have a telerik radgrid and I am using Editor templates for filling dropdown inside grid. All working fine. But now I need to be row specific on editing. Means same dropdown with different values need to be filled . I tried to use the onEdit client event and I got the drop down's object there. But what should I do next. Is there any other way for doing this? Here is my Editor template
@{
LogixDataContext context = new LogixDataContext();
var shipTo = (from p in context.Parties.AsEnumerable()
select new SelectListItem
{
Text = p.LegalName,
Value = pr.Id.ToString()
}).ToList();
@(Html.Telerik().DropDownList()
.Name(
"ShipTo")
.BindTo(shipTo)
)