I am trying to implement almost the same functionality that you have in your Firstlook example for Silverlight gridview, there is a tab controls in details template which has couple of gridviews in each tab item. I am trying to load the data in details section as load on demand, which is done in code behind, when I tried to find the child control usind "RadGridView childGrid = e.DetailsElement.FindName("gridParam") as RadGridView;" it loads the same data in every row (as opposed to just that row details),
I tried to get the child control in that particular row using both ways below with no luck.First one fails and throws error "Reference is not a valid visual DependencyObject" and second one doesn't find that control, so it throws null reference exception.
RadGridView childGrid = row.DetailsTemplate.FindChildByType<RadGridView>().FindName("gridParam") as RadGridView;
RadGridView childGrid = row.ChildrenOfType<RadGridView>().Where(c=>c.Name=="gridParam") as RadGridView;
Any input on this is greatly appriciated.
Thanks in advance,