• Material 3
  • Fluent
  • Bootstrap v5
  • Tailwind CSS
  • High Contrast
Preferences
Theme Selection
Theme Modes
Mode Selection
Touch
Mouse
Localization
*Translated by Google Translator.
Currency

Example of Dialog Editing in ASP.NET MVC Data Grid Control

This sample demonstrates CRUD operations in Grid. You can perform CRUD operations as follows,

  • Add - To add new record, click Add toolbar button
  • Edit - To edit record, double click a row or click toolbar Edit button after selected a row
  • Delete - To delete record, click toolbar Delete button after selected a row
  • Update,Cancel - You can save or discard changes by click toolbar Update and Cancel button respectively
DEMO
SOURCE

The Grid supports CRUD operations. This CRUD operations can be configured in Grid using EditSettings. Also, it has different modes to manipulate the datasource.

The available modes are,

  • Inline
  • Dialog
  • Batch

In this demo, Dialog mode is enabled for editing by defining EditSettings.Mode as Dialog. You can start editing by double clicking a row or clicking on toolbar's Edit button, then the currently selected row will be shown on a dialog and you can change the row values and save edited data to the datasource.

Transform your ASP.NET MVC web apps today with Syncfusion ASP.NET MVC components
85+ high-performance and responsive UI components
Dedicated support
Hassle-free licensing
TRY IT FOR FREE