VS 2005, AJAX
I use gridview and I need single and double click for each row in gridview.
When I click once on a row, some action will execute (e.g. next button should be enabled) and when I double click the row there should be redirection to another page.
I used the code below for both single and double click usage:
protected void GwContainers_RowDataBound(object sender, GridViewRowEventArgs e)
if (e.Row.RowType == DataControlRowType.DataRow)
// Get the LinkButton control in the first cell
LinkButton singleClickButton = (LinkButton)e.Row.Cells.Controls;
View Complete Post