It would be nice if grid could load edit and create forms from server side by get request.and then save them by post request. it would be much more easier if some fields in edit/create form could be saved without loading in grid. And also there would be much better control on load data if it is possible to check some conditions in edit form through server. At the end I suggest to change grid widget to: @(Html.Kendo().Grid<Model>() .DataSource(ds => ds .Ajax() .Read(r => r.Action("FillGrid", "Controller")) .GetCreateForm(c => c.Action("Create", "Controller", "Get")) .Create(c => c.Action("Create", "Controller", "Post")) .GetEditForm(u => u.Action("Edit", "Controller", "Get")) .Update(u => u.Action("Edit", "Controller", "Post")) )
Hi Morteza,
Currently the Grid popup editor is generated based on the Model that is passed to the component. If you would like to have different popup editors for the Create and Edit operations I suggest using the approach described by Georgi in this post:
https://www.telerik.com/forums/popup-grid-different-templates-on-edit-create#4758182
Regards,
Viktor Tachev
Progress Telerik
Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.