This is a migrated thread and some comments may be shown as answers.

[Solved] GridcolumnSetting

1 Answer 15 Views
Grid
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Amit
Top achievements
Rank 1
Amit asked on 30 Oct 2012, 03:19 PM
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

Sort by
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.
Tags
Grid
Asked by
Amit
Top achievements
Rank 1
Answers by
Petur Subev
Telerik team
Share this question
or