Vinz' Blog

"Code, Beer and Music" ~ my way of being a programmer!
posts - 124, comments - 366, trackbacks - 0

My Links

News

Archives

Image Galleries

How to: Generate Control Events that Resides within a GridView TemplateField

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!

Print | posted on Tuesday, June 02, 2009 8:04 PM |

Feedback

No comments posted yet.
Post A Comment
Title:
Name:
Email:
Website:
Comment:
Verification:
 
 

Powered by: