Well you can get all the controls from the Page. so when you get the controls by their type you can change their color.
Here is a link which explains how you can do it:
Get all controls in web page[
^]
A similar code will be:
public void GetUserControls(ControlCollection controls)
{
foreach (Control ctl in controls)
{
if (ctl is UserControl)
{
}
if (ctl.Controls.Count > 0)
GetUserControls(ctl.Controls);
}
}
And you can use it as:
GetUserControls(Page.Controls);
Good luck,
OI