[Mono-devel-list] Problems with web controls containers
Oliver Weichhold
oliver at weichhold.com
Sun Aug 7 02:19:53 EDT 2005
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);
}
More information about the Mono-devel-list
mailing list