Click here to Skip to main content
15,920,111 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi friends,

I am using C#,asp.net,Vs 2005.
How to get the cell id of the cells of nested gridview(gridviewwithin gridview) in javascript?

Thanks in advance
george
Posted

1 solution

C#
protected void GridView1_RowCommand(object sender, GridViewCommandEventArgs e)
        {
            GridView gv = new GridView();
            foreach (GridViewRow gvr in GridView1.Rows)
            {
                gv = (GridView)(gvr.FindControl("GridView2"));
                foreach (GridViewRow gvr2 in gv.Rows)
                {
                   
                }
            }
        }
 
Share this answer
 
Comments
Uday P.Singh 29-Aug-11 2:35am    
where is the javascript?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900