Skip to content

Latest commit

 

History

History
35 lines (27 loc) · 2.29 KB

File metadata and controls

35 lines (27 loc) · 2.29 KB

Grid View for ASP.NET Web Forms - How to define FormLayout inside edit form template

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();
  // ...
});

Files to Review

Does this example address your development requirements/objectives?

(you will be redirected to DevExpress.com to submit your response)