Z
Zarko Gajic
Hi,
I have a custom control with one InnerProperty: "Groups" - a collection of
Group (inherit from Object) objects.
Now, each Group has a Template property
(PersistenceMode.InnerDefaultProperty) where a user can place any type of
web control, something like (for one group):
<my control ....>
<Groups>
<Group>
<asp:TextBox ....>
</Group>
</Groups>
</my control>
I can add Groups using the designer editor (Collection editor) .. then go to
the "HTML" view to add the TextBox to a Group.
Now, the problem: every time I go back to design view and change any of the
properties of my control ... the <asp:TextBox> is removed.
Can anyone help?
~Zarko
I have a custom control with one InnerProperty: "Groups" - a collection of
Group (inherit from Object) objects.
Now, each Group has a Template property
(PersistenceMode.InnerDefaultProperty) where a user can place any type of
web control, something like (for one group):
<my control ....>
<Groups>
<Group>
<asp:TextBox ....>
</Group>
</Groups>
</my control>
I can add Groups using the designer editor (Collection editor) .. then go to
the "HTML" view to add the TextBox to a Group.
Now, the problem: every time I go back to design view and change any of the
properties of my control ... the <asp:TextBox> is removed.
Can anyone help?
~Zarko