>Hey Gang... > >Is there an equivalent to the SetAll Method for a c# WebForm? Or, do I have to iterate through the form objects?
You would have to iterate over the controls.
Something like:
Iterate(Master.FindControl("ContentPlaceHolder1"));
public void Iterate(Control container)
{
foreach (var control in container.Controls)
{
// Do something here
}
}
You could make it recursive as well, if necessary.