[RESOLVED][2005]How to click GridView row and allow to call back OnRowCommand...
I have a GridView, I need to single click the GridView row and allow to do function like GridView RowCommand....
I have a GridView RowCommand at coding behind... Possible to call it by clicking GridView row..?
Code:
protected void GridView1_RowCommand(Object sender, GridViewCommandEventArgs e)
{
if (e.CommandName == "View")
{
Session["KHNo"] = GridView1.Rows[Convert.ToInt32(e.CommandArgument)].Cells[0].Text.ToString();
Response.Redirect("KHPrice.aspx");
}
}
Re: [2005]How to click GridView row and allow to call back OnRowCommand coding behind...?