S
stephen
Hi Steve,
Sorry if you have seen this post before but I cant figure this one out...
Thanks for the information but now I am getting new errors:
I have used this code in the rowdatabound, how do i modify this to take 2
values?
protected void dgCustomer_RowDataBound(object sender, GridViewRowEventArgs
e)
{
if (e.Row.RowType == DataControlRowType.DataRow)
{
LinkButton myLink = (LinkButton)e.Row.Cells[0].Controls[0];
myLink.OnClientClick = "window.returnValue=" + e.Row.Cells[1].Text +
";window.close();return false;";
}
}
I want to return e.row.cells[2].text
I tried
myLink.OnClientClick = "window.returnValue=" + e.Row.Cells[1].Text +
"window.returnValue=" + e.Row.Cells[2].Text +
";window.close();return false;";
Thanks,
Stephen
Sorry if you have seen this post before but I cant figure this one out...
Thanks for the information but now I am getting new errors:
I have used this code in the rowdatabound, how do i modify this to take 2
values?
protected void dgCustomer_RowDataBound(object sender, GridViewRowEventArgs
e)
{
if (e.Row.RowType == DataControlRowType.DataRow)
{
LinkButton myLink = (LinkButton)e.Row.Cells[0].Controls[0];
myLink.OnClientClick = "window.returnValue=" + e.Row.Cells[1].Text +
";window.close();return false;";
}
}
I want to return e.row.cells[2].text
I tried
myLink.OnClientClick = "window.returnValue=" + e.Row.Cells[1].Text +
"window.returnValue=" + e.Row.Cells[2].Text +
";window.close();return false;";
Thanks,
Stephen