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

ASP.NET Core Grid Toggle Edit Mode

Loading Demo...
  • EXAMPLE
  • VIEW SOURCE
  • Edit in Telerik REPL
HtmlHelper
TagHelper
Files:
toggle_edit_mode.cshtml
Toggle_Edit_ModeController.cs
Toggle_Edit_Mode_TagHelper.cshtml

Also available for:

CLIENT-SIDE API HTML HELPER API

Description

The Telerik UI for ASP.NET Core Grid enables you to toggle its editing capabilities programmatically by using the disableEditing and enableEditing methods.

This demo showcases how to enable the user to change Grid's editing mode by selecting a value from a DropDownList and toggle the editing capabilities by checking a toolbar Switch button. As well as setting the Grid in a Readonly state via the Readonly() configuration.

For more information on the toggle editing feature, refer to the documentation about managing the responsive web design of the Telerik UI for ASP.NET core-ui Data Grid.

Additional Apps

This Grid example is part of unique collection of hundreds of ASP.NET Core demos, with which you can see all Telerik ASP.NET Core components and their features in action. View the source code of the demos from the library or directly adapt, and edit them and their theme appearance in Telerik REPL for ASP.NET Core or ThemeBuilder.

Support & Learning Resources

Additional Resources