Posted on: 3/25/2015 4:22:09 AM | Views : 611

Hello my friends: How do I find all controls on a page with specific words in their ID?
For example: I have 5 Labels with ID containing the word error. How do I locate these controls so that I can affect their status? I realized that I can use the Control.FindControl Method (String), located here: https://msdn.microsoft.com/en-us/library/486wc64h%28v=vs.110%29.aspx
But I am not looking to provide the specific ID, instead, I just need to use certain words in their ID. Thanks!

Go to the complete details ...