click on template button in grid triggers which event......?

admin

Administrator
Staff member
hai every one

i am beginer in ASP.Net ......
and a new member of the foreum too

right now i am facing a problem

IF WE INCLUDE A TAMPLATE COLUMN WITH

A BUTTON IN IT OF A GRID

1# WHICH IS THE EVENT TRIGGERED WHEN
WE CLICK ON THESE BUTTONS

2# AND HOW CAN WE DETECT WHICH
BUTTON WAS CLICKED



please do help if u have the solution

thanks in advanceYou mean you are including the button? No 'event' will be fired from an included button. Basically you can use a form action and that button can resend the form back to the server to fire a script, which when you click on an asp:button the same thing is happening, its just that asp.net is taking care of that little bit of code for you.

What exactly are you trying to do though, you might find an easier solution by just looping out some links with a query string.
 
Back
Top