0 Replies - 1731 Views - Last Post: 17 June 2012 - 04:21 PM

#1 imu_1  Icon User is offline

  • D.I.C Regular

Reputation: -6
  • View blog
  • Posts: 256
  • Joined: 03-June 11

Activating the drop down lists in the grid

Posted 17 June 2012 - 04:21 PM

I am creating a telerik grid which contains a column consisting of a drop down list. The problem is that only the first drop down list is active,the rest of them are not responding when i click them. Does anyone know how to fix this issue?
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.

Is This A Good Question/Topic? 0
  • +

Page 1 of 1