Telerik MVC grid can insert new rows at the bottom of the grid since 2012 sp1

It’s rare that I am writing about third party control but Telerik grid has a new feature that is kinda hard to find any way to implement. If you want to insert a new row to a Telerik ASP.Net MVC grid that you need to add a call to the method InsertRowPosition. This can be done inside the method Editable of the grid.


This is a short snippet of code to demonstrate how to add a row at the bottom of a grid with Telerik Grid.

Of course, to the button to add a new row you need to use the ToolBar method to add a command to insert. This is done by adding ToolBar method to the Telerik().Grid().

.ToolBar(c=> c.Insert().ButtonType(GridButtonType.Text))

If you like my article, think to buy my annual book, professionally edited by a proofreader. directly from me or on Amazon. I also wrote a TypeScript book called Holistic TypeScript

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.