Could anybody explain to me why this code throws an ArgumentException in
Mono 1.1.8 but works fine with the MS .Net 1.1 and Mono 1.02?

protected void MoveChildControls(System.Web.UI.Control from,
System.Web.UI.Control to)
{
  Control[] ControlList = new Control[from.Controls.Count];
  from.Controls.CopyTo(ControlList, 0);

  foreach(Control c in ControlList)
    to.Controls.Add(c);
}


_______________________________________________
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list

Reply via email to