I create custom control inherited from System.Web.UI.Control and have collection of item. These item will persist using PersistenceMode.InnerProperty.All changes to aspx markup in Web Form Editor is reflected to Property window of Visual Studio. The problem
is when I change the value of property of the item inside
the collection using Property window it does not reflect to aspx markup. Only when I using CollectionEditor it works fine and reflect also in aspx markup.
class MyControl : Control
{
[Persiste......]
public MyItemCollection MyItems
{
get{ .... }
}
}
class MyItem
{
public string Name {get;set;}
}
class MyItemCollection : List<MyItem>
{
}
So how to tell Web Form editor there is change in Name property of MyItem item ?
Go to the complete details ...