Version

CollectionControlObject Class

This class represents a WebControl object that is a member of a collection of objects. The collection of objects would be derived from the ObjectCollection base class so the two classes work together to carry out collection related tasks. For the CollectionControlObject, these tasks include providing and maintaining the Owner ObjectCollection as well as calling the OnAddedToCollection a and OnRemovedFromCollection overrides to notify the object when these events occur. This class derives from ControlObject so that base class maintains ViewState for the object. The ID property of this class overrides the ID property to prevent it from being set because for Templates, the ID must be managed by the framework.
Syntax
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also