New to Telerik UI for ASP.NET Core? Download free 30-day trial

Editing

Loading Demo...
  • EXAMPLE
  • VIEW SOURCE
  • Edit in Theme Builder
  • editing.cshtml
  • EditingController.cs
  • ProductService.cs
  • ProductViewModel.cshtml
  • ProductViewModel.cs

Also available for:

API REFERENCE

Description

The Telerik ListView UI component for ASP.NET Core comes with functionality for editing its records.

To implement the functionality, you must:

  • Define the model and item template
  • Add buttons for the create, update, and destroy operations
  • Define the editor template in a file that uses the name of the edited model and place it in the ~Views\Shared\EditorTemplates directory of your project
  • Enable the editing functionality using .Editable()
  • Specify and implement the action methods and the model id of the data source

Support & Learning Resources