This question is locked. New answers and comments are not allowed.
Hi,
I have a Grid and use Popup Edit Templates,
and the Edit Templates include two Grid,
first Grid is normal operation,
but I cannot control the second Grid,
it cannot get anything from control,
even 「add」 or 「edit」,
when i click the second Grid's add or edit,
the popup form will be crash...
how do I solve this problem??
Its my popup's code
@( Html.Telerik() .Grid<Stoneax.Enterprise.ERP.Models.AddressModel>() .Name("Grid") .DataKeys(keys => keys.Add(p => p.ID)) .DataBinding(dataBinding => { dataBinding.Ajax().Insert("AddressCreate", "Company").Select("AddressIndex", "Company", new { ID_ENTREGA_TALONARIO = Model.ID }).Update("AddressEdit", "Company").Delete("AddressDelete", "Company"); }) .ToolBar(commands => commands.Insert().ImageHtmlAttributes(new {style = "margin-left:0"})) .Columns(columns => { columns.Command(commands => { commands.Edit().ButtonType(GridButtonType.Text); commands.Delete().ButtonType(GridButtonType.Text); }).Width(180).Title("Commands"); columns.Bound(o => o.AddressTitle).Width(100); columns.Bound(o => o.Area).Width(80); columns.Bound(o => o.SectorCode).Width(80); columns.Bound(o => o.AddressContent).Width(80) }) .Editable(editing => editing.Mode(GridEditMode.PopUp)) .Sortable()) <div>Contact</div>@( Html.Telerik() .Grid<Stoneax.Enterprise.ERP.Models.ContactModel>() .Name("Grid2") .DataKeys(keys => keys.Add(p => p.ID)) .DataBinding(dataBinding => { dataBinding.Ajax().Insert("ContactCreate", "Company").Select("ContactIndex", "Company", new {ID_ENTREGA_TALONARIO = Model.ID}).Update("ContactEdit", "Company").Delete("ContactDelete", "Company"); }) .ToolBar(commands => commands.Insert().ImageHtmlAttributes(new {style = "margin-left:0"})) .Columns(columns => { columns.Command(commands => { commands.Edit().ButtonType(GridButtonType.Text); commands.Delete().ButtonType(GridButtonType.Text); }).Width(180).Title("Commands"); columns.Bound(o => o.Name).Width(100); columns.Bound(o => o.Nickname).Width(80); columns.Bound(o => o.Phone1).Width(80); columns.Bound(o => o.Phone2).Width(80); }) .Editable(editing => editing.Mode(GridEditMode.PopUp)) .Sortable())