tab on the second cell it to the 2nd form ?.
Do you open a popup window using javascript.
If so when you close or click the Ok button from you popup window you can return the reslut to your main form for example like this :
protected void btnConfirm_Click(object sender, ImageClickEventArgs e)
{
SelectConfirm(Textbox2.Text,Textbox3.Text);
}
protected void SelectConfirm(String result1,String result2)
{
Response.Write("<script language='javascript'>");
Response.Write("window.returnValue = new Array('" +
result1 + "','" +
result2 + "');window.close();");
Response.Write("</script>");
}
else
{
message("failed.");
}
}
and in your main form you can get the return values in and display in your griview cell.
Note : here i have used my telerik grid sample you can cange to your gridview update
var res = ShowPopup("form_PopUp.aspx?RESO_CD=''", 1208, 600);
if (!!res) {
var a = res[0].split("-");
txtresult1val.set_value(a[1]);
txtresult2val.set_value(a[2]);
txtresult3val.set_value(res[1]);
}