Shalu Shalini

Shalu Shalini

  • NA
  • 123
  • 16.8k

clientscript not works in server

Mar 10 2017 6:04 AM
 if (e.Row.RowType == DataControlRowType.DataRow)
{
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 ..

Answers (3)