Apr 10, 2004 #1 N Northrop Newcomer Joined Apr 9, 2004 Messages 4 private void Page_Load(object sender, System.EventArgs e) { foreach(Control ctl in this.Controls) { ctl.Visible = true; } } does nothing with controls on Web-page
private void Page_Load(object sender, System.EventArgs e) { foreach(Control ctl in this.Controls) { ctl.Visible = true; } } does nothing with controls on Web-page
Apr 10, 2004 #2 W wessamzeidan Junior Contributor Joined Dec 8, 2002 Messages 379 Location Lebanon you controls might be in panels, or other containers. The above code will only effect controls placed directly on the webform.
you controls might be in panels, or other containers. The above code will only effect controls placed directly on the webform.