I have the following property in a custom control:
List<myClass> _items;
public List<myClass> Items{
get { return _items; }
set { _items= value; }
}
In my codebehind, I add items to the collection as in...
myCustomControl.items.Add(new myClass());
However, these are not persisted across postbacks. What is the proper way to allow persistance in custom controls?