A newer version of this page is available. Switch to the current version.

Data Editing and Validation

The ASP.NET MVC CardView extension allows your end-users to edit its 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 v18.2 item.

      MVC_DataEdit_Wizard1

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

      CardView_Editing_Wizard

    The wizard will automatically add a CardView 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

See Also