Hi,
I have done nested gridview before. But my case is a bit different from yours.
Does the [Add] button exist in different rows (for inner gridview or outer gridview), or there is only 1 [Add] button (since you mentioned footer)?
If you have [Add] button for each row, you can get the row information through the [Add] button. For my case I was dealing with checkbox, and this is what I did. Checkbox2 is checkbox in the inner gridview.
Protected Sub CheckBox2_CheckedChanged(ByVal sender As Object, ByVal e As System.EventArgs)
Dim chk As CheckBox = CType(sender, CheckBox)
If chk.Checked = False Then
Dim innergv As GridView = CType(chk.Parent.Parent.Parent.Parent, GridView)
Dim myrow As GridViewRow = CType(innergv.Parent.Parent, GridViewRow)
Dim outerChk As CheckBox = CType(myrow.FindControl("CheckBox1"), CheckBox)
outerChk.Checked = False
Dim outergv As GridView = CType(myrow.Parent.Parent, GridView)
End If
End Sub
You can find row information of the outer gridview, through the "Parent" property as above.
Hope this helps.