Geeks With Blogs

News

Microsoft MVP


DZone MVB


Moderator at CodeASP.NET


Quiz Master







free counters
Free counters
Added on January 19,2012


Follow Me @vmsdurano

A bit About Me



Disclaimer
The opinions expressed herein are my own personal opinions and does not represent the opinions of my employers. Nor does it represent the opinion of my dog, because I don’t have one.


Vinz' Blog (ProudMonkey) "Code, Beer and Music ~ my way of being a programmer"

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: ,
Posted on Tuesday, June 2, 2009 8:04 PM ASP.NET , GridView | Back to top


Comments on this post: How to: Generate Control Events that Resides within a GridView TemplateField

comments powered by Disqus

Copyright © Vincent Maverick Durano | Powered by: GeeksWithBlogs.net