title: Get All Web Controls of a Specific Type on a Page
body: <p>I have been pondering how I can get all controls on a page and then perform a task on them in this related question:</p>
  
  <p><a href="https://stackoverflow.com/questions/869122/how-to-search-through-a-c-dropdownlist-programmatically">How to Search Through a C# DropDownList Programmatically</a></p>
  
  <p>I need code that can scan the page, get all DropDownList Controls and return them in a list.</p>
  
  <p>I'm currently having to edit each individual control, I would rather be able to dynamically loop over each control to preform my task.</p>