incorrect custom control code serialization - 12-08-2004 , 03:24 PM
i'm creating custom list control. it has collection of items and each item
consists of several sub items. item has two constructors, one of which takes
list (parent) as an argument. this constructor is used for code
serialization (through type converter that has overriden ConvertTo method).
however designer creates this code:
Igneous.Controls.IgItem igItem1 = new Igneous.Controls.IgItem(this.igList1);
Igneous.Controls.IgSubItem igSubItem1 = new Igneous.Controls.IgSubItem();
this.igList1 = new Igneous.Controls.IgList();
igItem1 is created too early and gets "null" parent. how can i force igList1
get created before igItem1 (code dom ? wouldn't know where to start ?
|Thread Tools||Search this Thread|