I had posted a question on gridview cell click here: http://www.experts-exchange.com/Programming/Languages/C_Sharp/Q_22880624.html
I got my answer and now what I want to know - Is there any way where we can limit the cell click to only ONE particular column - say only the first column. I do not want any click event to happen anywhere on the grid except the first column. Can anyone help?
This is the code [from that link]:
Protected Sub GridView1_RowCreated(ByVal
sender As Object, ByVal e As System.Web.UI.WebControls.
) Handles GridView1.RowCreated
Dim gr As GridViewRow
For Each gr In GridView1.Rows
Dim tc As TableCell
For Each tc In gr.Cells
", "alert('This is ID" & tc.Text & "')")