I have a Gridview with ImageButtons added to a column via a templatefield. I’ve attached a function to the ‘OnClick’ event.
Once in this function, how can I get the index of the row that has the button that has been clicked. It appears that all I have is the mouse coordinates on the page.
Instead of looping through the rows you can use this