Skip to main content

Data Editing and Validation

The ASP.NET MVC GridView extension allows your end-users to edit grid data.

You can enable data editing in one of the following ways.

  • Using the Insert Extension Wizard

    1. Right-click the View code. In the context menu, select the Insert DevExpress MVC Extension v24.1 item.

      MVC_DataEdit_Wizard1

    2. This invokes the Insert Extension Wizard. In the Insert Extension Wizard, select the GridView extension and check the Enable inline editing check box within the GridView settings page.

      MVC_DataEdit_Wizard2

    The wizard will automatically add a GridView with data editing functionality to your View.

  • Manually

    Refer to the following topics to learn how to manually enable grid editing features.

Note

To enable data edit, insert and delete operations, you must specify the GridSettingsBase.KeyFieldName property.

Concepts