Hi,
I am binding the radgrid using normal datasource and databind method.
the grid is getting filled with autogenerated columns. I have placed one checkbox which is in the grid, not auto generated.
Now, on post back usong any button in the page. the data in the viewstate also gets loaded. this creates addtional column. I did
radgrid.MasterTableView.Columns.Clear();
the reaction is, this will also remove the checkbox in the item template. I am not sure on how to add check box and header text box in the item template in radgrid programmatically. the example given in telerik site is not helpful.
http://www.telerik.com/help/aspnet-ajax/grid-programmatic-creation.html
I requrie a solution, on how to added a column which checkbox programmatically or
running this without touching template column or
prevent viewstate from acting on button postbacks.
thanks in advance.