I have a GridView which has EditButton and DeleteButton enabled. When the user clicks either of the buttons, I want to execute a custom JavaScript codes. In an ordinary Button, we can accomplish this by setting OnClientClick=”MyJSFunction();”.
Thanks!
here i consider this is your last column in Grid-view
and write following code in code-behind which will call your custom java-script function.
and here yr java-script part