I order to test the hierarchical RadGrid I created a new Telerik-.Net Web Application Project in ym Visual Studio 20167 express and copied thesourcesof the demo from here:
The declarative Project works fine.
Since I need a 100% "code behind" solution I then commented the aspx code for the RadGrid and moved the properties step by step in the cs-file into the Page_Load handler. It worked fine until I also moved the the Event handler declarations for "OnDetailTableDataBind" and "OnNeedDataSource" from the aspx-file to the cs-file like here:
RadGrid1.NeedDataSource += new GridNeedDataSourceEventHandler(needDataSource);
RadGrid1.DetailTableDataBind += new GridDetailTableDataBindEventHandler(detailTableDataBind);
To my surprise the event handlers are not triggered any more when I start the application.
Are there any issues with the event handlers? What could be the reason?