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

how can i implement this type editing in my project while using Mvc3 with telerik grid URL:http://demos.telerik.com/aspnet-ajax/grid/examples/dataediting/alleditablecolumns/defaultcs.aspx

0 Answers 32 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
vinkesh
Top achievements
Rank 1
vinkesh asked on 06 Jul 2011, 03:06 PM
url:

URL:http://demos.telerik.com/aspnet-ajax/grid/examples/dataediting/alleditablecolumns/defaultcs.aspx 

on double click it will show me diffrent textboxes for editing.

my code will be like this

for index.cshtml

@(Html.Telerik().Grid<TelerikMvcApplication1.Models.tb_TestMvc>()
.BindTo((List<TelerikMvcApplication1.Models.tb_TestMvc>)ViewData["tb_TestMvc"])
.Name("Grid")
.Columns(columns =>
{
columns.Bound(p => p.Id).Width(210);
columns.Bound(p => p.ContactTitle).Width(130).Format("{0:c}");
columns.Bound(p => p.ContactName).Width(130).Format("{0:N}");
columns.Bound(p => p.Country).Width(130).Format("{0:d}");

})
.Sortable()
.Filterable()
.Pageable()
)

and for home controller it will likle this
public ActionResult Index()
{
  var tme = new db_TestEntities();
ViewData["tb_TestMvc"] = tme.tb_TestMvc.ToList();

return View();
}
 
       please check it and provide me appropriate solution for  this prolem.

Tags
ComboBox
Asked by
vinkesh
Top achievements
Rank 1
Share this question
or