This question is locked. New answers and comments are not allowed.
Hi,
I'm trying to display 'Select' command buttons on my MVC Grid. Here is my code:
| <%= Html.Telerik().Grid<Support.Customer>() |
| .Ajax(ajax => ajax.Action("_AjaxCustomers", "Support", null)) |
| .Name("CustomersGrid") |
| .Pageable() |
| .Sortable() |
| .Filterable() |
| .DataKeys(k => k.Add(n => n.Custcode)) |
| .Columns(columns => |
| { |
| columns.Command(n => n.Select()).Title("Select").Width(100); |
| columns.Add(n => n.Custcode).Title("Cust Code"); |
| columns.Add(n => n.Contact).Title("Contact"); |
| columns.Add(n => n.HomePhone).Title("Home Phone"); |
| columns.Add(n => n.Email).Title("Email"); |
| }) |
| %> |
The grid lines are appearing and there is a 'Select' column however the individual Select buttons don't appear. I haven't seen any examples of displaying a Select button when using Ajax Binding so I assume that it is possible.
Could someone please advise what I may be doing wrong here?
Thanks, Kent.