This question is locked. New answers and comments are not allowed.
I'm using Telerik Mvc Grid.
I want to create grid template in cs file. Now I have something like this:
01.public override Action<GridColumnFactory<Transaction>> Columns 02. { 03. get04. { 05. return c => 06. { 07. c.Bound(o => o.Id).ClientTemplate("<input name='Id' type='checkbox' value='"+ o.Id +"' />").ReadOnly(); 08. 09. c.Bound(o => o.IdNumber).ReadOnly(); 10. c.Bound(o => o.SequentialNumber).Width(100); 11. 12. }; 13. } 14. }But that doesn't work properly. How I can template columns in cs file. And next thing. How to set overflow of grid to fix it if I have about 15 columns.