S
shapper
Hello,
I have two custom controls Parent and Child, both inherit from
Composite Control. Child controls are added to parent.
Parent has a property named ChildControlCssClass.
I want ChildControlCssClass to be applied to all Child controls added
to Parent.
However, if I define the CssClass of a Child control then this would
be the one applied and not the ChildControlCssClass defined in its
parent.
What is the right way to do this?
Thanks,
Miguel
I have two custom controls Parent and Child, both inherit from
Composite Control. Child controls are added to parent.
Parent has a property named ChildControlCssClass.
I want ChildControlCssClass to be applied to all Child controls added
to Parent.
However, if I define the CssClass of a Child control then this would
be the one applied and not the ChildControlCssClass defined in its
parent.
What is the right way to do this?
Thanks,
Miguel