This is a repost from my question in the buildcontrol sub group.
----------------
I have created a composite custom control.
It works fine, renders, all is good on that side.
I am trying to cleaup the design mode side of it, and in turn clean up the
core control.
All surounding properties.
I have been able to create classes for the properties.
I have been able to get them to appear expandable on VS.2003
Here are the two issues I am having:
1) If I change a a property that is part of a custom grouping (That I
created), the value does not trip design mode rendering to be redone.
In my non-grouped properties, I am acomplishing this by putting in the
code:
ChildControlsCreated = False
Me.EnsureChildControls()
This does work for my properties that are pulling in the grouped class from
above.
However, if I go and change another non-grouped parameter (or a VS supplied
grouping, such as font).
It re-renders, with the updated values from my custom grouping.
2) (Bigger Issue). Once I close the page in any fashion (close page, close
solution, View in Browser, whatever).
My custom group (class) properties are not saved.
What am I doing wrong? I have been pulling my hair out for a couple days
now, trying to figure this out.
Thanks for any help.
I can post the code if anyone would like to see it.
Thanks