diff options
author | Gonzalo Paniagua Javier <gonzalo.mono@gmail.com> | 2002-07-05 00:29:22 +0400 |
---|---|---|
committer | Gonzalo Paniagua Javier <gonzalo.mono@gmail.com> | 2002-07-05 00:29:22 +0400 |
commit | 87ea4f635d161d2b3352e1d9e8de48cfec8a845d (patch) | |
tree | c7c53c1334fa90484e6b083bba8cc3acf50990f3 /mcs/class | |
parent | face270c06d62806f5376f274625358f513bc6b9 (diff) |
2002-07-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* HtmlContainerControl.cs:
(CreateControlCollection): added. All containers must have a non-empty
control collection.
svn path=/trunk/mcs/; revision=5595
Diffstat (limited to 'mcs/class')
-rw-r--r-- | mcs/class/System.Web/System.Web.UI.HtmlControls/ChangeLog | 6 | ||||
-rw-r--r-- | mcs/class/System.Web/System.Web.UI.HtmlControls/HtmlContainerControl.cs | 6 |
2 files changed, 12 insertions, 0 deletions
diff --git a/mcs/class/System.Web/System.Web.UI.HtmlControls/ChangeLog b/mcs/class/System.Web/System.Web.UI.HtmlControls/ChangeLog index a005cfc13f1..5497dceba91 100644 --- a/mcs/class/System.Web/System.Web.UI.HtmlControls/ChangeLog +++ b/mcs/class/System.Web/System.Web.UI.HtmlControls/ChangeLog @@ -1,3 +1,9 @@ +2002-07-04 Gonzalo Paniagua Javier <gonzalo@ximian.com> + + * HtmlContainerControl.cs: + (CreateControlCollection): added. All containers must have a non-empty + control collection. + 2002-06-30 Gonzalo Paniagua Javier <gonzalo@ximian.com> * System.Web.UI.HtmlControls/HtmlAnchor.cs: diff --git a/mcs/class/System.Web/System.Web.UI.HtmlControls/HtmlContainerControl.cs b/mcs/class/System.Web/System.Web.UI.HtmlControls/HtmlContainerControl.cs index 970a48aced9..c257ec85a0b 100644 --- a/mcs/class/System.Web/System.Web.UI.HtmlControls/HtmlContainerControl.cs +++ b/mcs/class/System.Web/System.Web.UI.HtmlControls/HtmlContainerControl.cs @@ -79,5 +79,11 @@ namespace System.Web.UI.HtmlControls { writer.WriteEndTag (TagName); } + + protected override ControlCollection CreateControlCollection () + { + return new ControlCollection (this); + } + } } |