This is a migrated thread and some comments may be shown as answers.

[Solved] Urgent Issue on Telerik dropdown in Radgrid

0 Answers 65 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Akhilesh
Top achievements
Rank 1
Akhilesh asked on 15 Sep 2011, 03:36 PM
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

@{

 

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)

)




Tags
General Discussions
Asked by
Akhilesh
Top achievements
Rank 1
Share this question
or