0
검도의 생성 및 업데이트를위한 다른 팝업에 대한 해결책이 있습니까? 업데이트를위한 팝업이 있지만 생성을 위해 다른 팝업을 사용하고 싶습니다. 여기에 내 검도 코드가있다. 나를 도울 수 있겠 니?생성 및 업데이트를위한 별도의 팝업
@(Html.Kendo().Grid<xxxxxx.Il>().Name("Iller")
.Columns(columns =>
{
columns.Bound(p => p.Id);
columns.Bound(p => p.IlAdi);
columns.Bound(p => p.DegistirenKullanici);
columns.Bound(p => p.DegistirmeTarihi);
columns.Bound(p => p.KayitKullanici);
columns.Bound(p => p.KayitTarihi).Format("{0:dd-MM-yyyy}");
columns.Command(command => { command.Edit(); command.Destroy(); }).Width(250);
})
.Pageable(pageable => pageable.Refresh(true))
.Sortable()
.AutoBind(true)
.Selectable()
.Navigatable()
.Filterable()
.ToolBar(toolbar => toolbar.Create())
.Editable(ed => ed.Mode(GridEditMode.PopUp).TemplateName("IlModel").Window(w => w.Width(450)).Window(w => w.Title("Düzenle")))
.DataSource(dataSource => dataSource
.Ajax()
.PageSize(5)
.Events(events => events.Error("error_handler"))
.Model(model => model.Id(p => p.Id))
.Create(update => update.Action("Il_Create", "Tanimlar"))
.Read(read => read.Action("Il_Read", "Tanimlar").Data("getAdditionalData"))
.Update(update => update.Action("Il_Update", "Tanimlar"))
.Destroy(update => update.Action("Il_Delete", "Tanimlar"))
)
)