I have a nested gridview and after I page and click edit, it show values of first page. This the code for my edit.\[code\] protected void GridView2_RowEditing(object sender, GridViewEditEventArgs e){ GridView gvTemp = (GridView)sender; gvUniqueID = gvTemp.UniqueID; gvEditIndex = e.NewEditIndex; GridView1.DataBind();}\[/code\]I am new in using gridview. When I click the edit link on first row, this is the URL I get javascript:__doPostBack('GridView1$ctl02$GridView2','Edit$0'). This happens whether I am in the first page or second in the first row of either the two.