Add Collection Property editor in custom control?
Web Development
1
Posts
1
Posters
0
Views
1
Watching
-
I have made a custom control , inhereted from System.Web.UI.Control I want to add a collection property in this control but i can't do it ... If any one have some peice of code help me ........ public class MyCollection: System.Web.UI.Control, INamingContainer { System.Collections.ArrayList _item ; public MyCollection() { _item = new System.Collections.ArrayList ; } public System.Collections.ArrayList Items { get{ if (_add==null) this._add = new System.Collections.ArrayList (); return _add; } set { this._add = value; } } }