Nested gridview
Hi tell me any one how to find the nested gridview when ever we click the itemtemplate button.
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Suthish NairPosted Nov 5, 2010, 7:46 AM
try..
int rid = int.Parse(e.CommandArgument.ToString());
GridView gv = (GridView) ParentGridView.Rows[rid].Cells[1].FindControl("nestedGVClientID");