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 Replies
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.

Shalu ShaliniPosted Mar 11, 2017, 12:00 AM
Shalu ShaliniPosted Mar 10, 2017, 11:53 PM
Naveen BishtPosted Mar 10, 2017, 7:45 AM