Error!
Success!

Selecting all control of a specific type, the (built-in) Linq way

0
kicks

Selecting all control of a specific type, the (built-in) Linq way  (Unpublished)

We probably all worked with dynamically generated controls on forms, ASP.NET pages or (user) controls. And I guess we've all written for-each statements to loop through the ControlCollection and filter out all the controls of a specific type, right? I wanted to do the same today, so I started by trying to use LINQ for this...


Kicked By:
Drop Kicked By: