Find first parent control of a specific type using recursion
Just like the title says. There have been some scenarios where I have had to search a controls parents until I find a specific control of type. A common example would be within a datagrid. Say you have a button that fires, and you need to to call Update() on a parent updatePanel. But you don't [...]