In our application we are using server side pagination for grid by using "ObjectDataSourceContainer". Can anyone please tell me how to assign a ObjectDataSourceContainer to "GridTableView" dynamically( runtime, C# code behind).
1 Answer, 1 is accepted
0
Sebastian
Telerik team
answered on 06 Jul 2009, 01:40 PM
Hello Revathi,
You should be able to relate ObjectDataSourceContainer as grid item generator programmatically in the same way as you will do that with regular MS GridView control.
In case you build hierarchy and would like to assign data source at each level, intercept the DetailTableDataBind event of the grid and supply the source for the child tables there: