I have an ImageButton in the Item Template of the fourth column of a gridview. I am trying to access it in the *.aspx.cs file but am unable to do so. I need this button to pass it as a parameter to a method and have tried multiple routes including this one which seemed like something that should have worked:-
(ImageButton)Gridview.FindControl("EditButton");
"EditButton" is the name of the ImageButton
Could anyone help me out.
Thanks,
Sudeep
...
Go to the complete details ...