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

ASP.NET MVC Grid Custom Command

Loading Demo...

Also available for:



The Telerik UI for ASP.NET MVC Data Grid provides configuration options for including a custom command column. As a result, the component will render a button in its column cells that will trigger the command.

Through the column definition of he Data Grid, you can specify the text for that button and wire its click event to a JavaScript function—columns.Command(command => command.Custom("ViewDetails").Click("showDetails"));. The generated button will be decorated with a class which follows the k-grid-[CommandName] convention and the click handler will receive the corresponding Grid as an argument.

This demo shows how to implement a custom command column in the Data Grid and use a Kendo UI for jQuery Window component to display details about the selected Grid row.

For more information, refer to the official Telerik UI for ASP.NET MVC Data Grid product documentation on implementing custom command columns.

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