Thus spake the master programmer:
After three days without programming,
life becomes meaningless.
- The Zen of Programming

Thursday, May 14, 2009

Bugged by FindControl….

I’ve always been bugged by the “FindControl” method on the Gridview, or any part of the page (I mainly use it on a gridviewrow after selecting). So I wrote a little Generic method. This can be added to a utilties class, or just on the codebehind page itself: