I decided to post this because this has been asked many times before at the forums. So for those who doesn't know  how to generate a control event that are residing within the TempleFields of GridView then you can follow these few steps below:


* Switch to Design View in Visual Studio Designer
* Right Click on the GridView
* Select Edit Template and then Select the Column where the Control that you wan't to generate the event resides (e.g Button, TextBox, etc..)
* The GridView will then changed to edit mode, Right Click on the Control and Select Properties
* On the Properties ToolPane, switch to EVENTS tab.
* Choose the event that you want to generate
* Double Click on it to Generate the event for you

That Simple!

Technorati Tags: ,