How can i databind an editable grid (RadGrid2) that is placed inside a formtemplate of another grid (RadGrid1)? And how can I render the RadGrid2 to open all the rows editable at the same time? Using OnNeedDataSource in RadGrid2 doesn't seem to work.
Here is the sample code to access the Grid inside the EditFormTemplate of another Grid. Try accessing the EditForm Grid in the ItemDataBound event of the Main Grid as shown below.
Thanks for your answer.
It works fine, except for if i click on Cancel or Save, the grid inside the formtemplate loses it's datasource and disappears. And I think I will get into more trouble when trying to save or delete data in the rows of the grid. All data is loaded from codebehind, so no markup datasources is in use.