B
Barry Carr
Hi,
I've created a composite custom web control and a ControlDesigner
descendant to render the control a design time.
The child controls are public properties of composite control and as such
the child controls appear in the property inspector as sub-properties of
the main control and can be manipulated as normal at design time. If any of
the properties of the parent (main) control are changed at design time the
composite control is updated (re-rendered) in the designer to reflect the
change. However, if any of the properties of the child controls are changed
in the property inspector the control is not updated in the designer.
So my qestion is this: is there a way to get the whole control to be re-
rendered at designtime if any of the properties of the child controls are
updated? I've tried the NotifyParent Attribute on the child control
properties but this doesn't appear to work. Any help would be appreciated.
Thanks
Regards
Barry Carr
I've created a composite custom web control and a ControlDesigner
descendant to render the control a design time.
The child controls are public properties of composite control and as such
the child controls appear in the property inspector as sub-properties of
the main control and can be manipulated as normal at design time. If any of
the properties of the parent (main) control are changed at design time the
composite control is updated (re-rendered) in the designer to reflect the
change. However, if any of the properties of the child controls are changed
in the property inspector the control is not updated in the designer.
So my qestion is this: is there a way to get the whole control to be re-
rendered at designtime if any of the properties of the child controls are
updated? I've tried the NotifyParent Attribute on the child control
properties but this doesn't appear to work. Any help would be appreciated.
Thanks
Regards
Barry Carr