* UI/ParseChildrenAttribute.cs: fixed ChildControlType property to compliant to .net
[mono.git] / mcs / class / System.Web / System.Web.UI.HtmlControls / HtmlTableRow.cs
index cc7ad570f441658d3fdae371370242d8683d5e4a..7c3780f5b65b2f07690f3cd3fb381316260ef6c1 100644 (file)
@@ -35,11 +35,7 @@ namespace System.Web.UI.HtmlControls {
        [AspNetHostingPermission (SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
        [AspNetHostingPermission (SecurityAction.InheritanceDemand, Level = AspNetHostingPermissionLevel.Minimal)]
        // attributes
-#if NET_2_0
-       [ParseChildren (true, "Cells", ChildControlType = typeof(Control))]
-#else  
-       [ParseChildren (true, "Cells")]
-#endif         
+       [ParseChildren (true, "Cells")] 
        public class HtmlTableRow : HtmlContainerControl {
 
                private HtmlTableCellCollection _cells;