Hi Sebastian,
The way you are configuring your grid structure programmatically depends on whether you do it on
Page_Init or
Page_Load. Please closely follow the tips provided in the following topic:
http://www.telerik.com/help/aspnet-ajax/grid-programmatic-creation.html#Section4
I believe it will be very helpful if you check out this demo:
http://demos.telerik.com/aspnet-ajax/grid/examples/hierarchy/autogeneratedhierarchy/defaultcs.aspx
In addition, you could change the grid columns dynamically using the approach provided in the article below:
http://www.telerik.com/help/aspnet-ajax/grid-changing-structure-dynamically.html
I hope this will prove helpful.
All the best,
Eyup
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their
blog feed now.