How do i set the HeaderTemplate using GridColumnSettings.HeaderTemplate property.
it right now accepts the Action but i want to know if i can put the custom html in the HeaderTemplate using GridColumnSettings.
1 Answer, 1 is accepted
0
Petur Subev
Telerik team
answered on 02 Nov 2012, 01:54 PM
Hello Amit,
Setting the Grid header template through the column settings is not supported (since there is not ViewContext.Writer available in the controller which we rely on).
I am sorry for any inconvenience caused.
Kind regards,
Petur Subev
the Telerik team
Check out the successor of Telerik MVC Extensions - Kendo UI for ASP.NET MVC - and deem it for new ASP.NET MVC development.