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

ASP.NET MVC Grid Toggle Edit Mode

Loading Demo...
  • EXAMPLE
  • VIEW SOURCE
toggle_edit_mode.cshtml
Toggle_Edit_ModeController.cs

Also available for:

CLIENT-SIDE API SERVER-SIDE API

Description

The Telerik UI for ASP.NET MVC 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 MVC Data Grid.

Additional Apps

This Grid example is part of a unique collection of hundreds of ASP.NET MVC demos, with which you can see all Telerik ASP.NET MVC 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 the ThemeBuilder.

Support & Learning Resources

Additional Resources