![]() ![]() ![]() Within a template, custom label-editor pairs and Update/Cancel buttons are explicitly created using helpers from DevExpress Data Editors extensions (such as the Label, TextBox, ComboBox, SpinEdit, Button, etc.).Įditors used within a template are customized in the following simple manner: they are bound to corresponding model data fields (using the Bind method), are named according to these fields (using the Name property), and their ability to automatically visualize model errors when validation fails is enabled (using the ShowModelErrors property).Įditors bind to values of the model's currently edited data object. This demo describes how a template for the grid's Edit Form can be defined using the SetEditFormTemplateContent method. MVC Grid View allows you to provide a custom edit mode layout by creating an appropriate template for particular edited row cells or an entire Edit Form.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
June 2023
Categories |