if (e.Row.RowType == DataControlRowType.DataRow)
{
e.Row.Attributes["onclick"] = Page.ClientScript.GetPostBackClientHyperlink (GridView1, "Select$" + e.Row.RowIndex);
{
e.Row.Attributes["onclick"] = Page.ClientScript.GetPostBackClientHyperlink (GridView1, "Select$" + e.Row.RowIndex);
}
" Page.ClientScript.GetPostBackClientHyperlink" works fine in local but when i post this in server the code not responding .. i want to select gridview's row without select button ..
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.


Naveen BishtRank #1,462 · 1.1K reputationPosted Mar 10, 2017, 2:45 AM EST
Shalu Shalini111 reputationPosted Mar 10, 2017, 6:53 PM EST
Shalu Shalini111 reputationPosted Mar 10, 2017, 7:00 PM EST