Last Updated: 01 Jul 2021 11:38 by ADMIN
Created on: 16 Jul 2015 13:54
Category: UI for ASP.NET MVC
Type: Feature Request
Better support for client-side templates in the grid
When converting a WebForms app with KendoUI controls in it to MVC, I used the MVC wrappers.  One thing that became very apparent is the lack of support for client templates.  For example, a bound column has a ClientTemplate, but no ClientEditorTemplate or ClientHeaderTemplate. Because of this, extra JS code has to be written to manually manipulate different parts of the grid.  Considering the MVC Wrappers render out the same HTML/JavaScript as the pure JavaScript counterpart, it would be EXTREMELY helpful if client templates were made available anywhere a server-side template exists.
1 comment
Viktor Tachev
Posted on: 01 Jul 2021 11:38

Hello Andy,


With MVC the editor template for a field is located in the ~/Views/Shared/EditorTemplates folder by default. That folder usually contains partial views with names that match the specific type they would be editing. Inside each partial View there would be the definition of an editor. Check out the article below that describes in more detail how editor templates in the Grid can be specified:

As for the ClientHeaderTemplate - it is available in the columns configuration.


Viktor Tachev
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.