This example demonstrates how to use the SetEditFormTemplateContent method to define the FormLayout extension in edit form template.
settings.SetEditFormTemplateContent(c => {
var editItem = ViewData["Item"] != null ? ViewData["Item"] : c.DataItem;
Html.DevExpress().FormLayout(set => {
set.Name = "FormLayout";
// ...
}).Render();
// ...
});
(you will be redirected to DevExpress.com to submit your response)