* UI/ParseChildrenAttribute.cs: fixed ChildControlType property to compliant to .net
[mono.git] / mcs / class / System.Web / System.Web.UI.HtmlControls / HtmlTable.cs
index b514a5c12ef2470e66f02198ba86df462b28443f..10df0d36604ac00f3e37844d2262bd201d779070 100644 (file)
@@ -36,11 +36,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, "Rows", ChildControlType = typeof(Control))]
-#else
-       [ParseChildren (true, "Rows")]
-#endif         
+       [ParseChildren (true, "Rows")]  
        public class HtmlTable : HtmlContainerControl {
 
                private HtmlTableRowCollection _rows;