Telerik is a third party tool that am using to create the grid and the drop down.
Here's my code
@(Html.Telerik().Grid<MyModel>()
.Name("Grid")
.Columns(columns =>
{
columns.Bound(a => a.Id).ClientTemplate(
Html.Telerik().DropDownList()
.Name("RoleList<#= Id #>")
.Items(items =>
{
items.Add().Text("Item #1").Value("0");
items.Add().Text("Item #2").Value("1");
})
.ToString()
))
any help will greatly be appreciated.

New Topic/Question
Reply


MultiQuote


|