Composite Controls
Hello,
I've created a composite control. Whenever I establish style information (forecolor, backcolor, etc.) for the composite control, how do i assign these properties to the child controls (in the CreateChildControls method) without assigning it in this method:
Dim objLink as New LinkButton
With objLink
.ID = "MyID"
.Text = "Text"
.ForeColor = MyClass.ForeColor
.BackColor = MyClass.BackColor
.BorderColor = MyClass.BorderColor
... (etc) ...
End With
Thanks,
Brian
__________________
Brian
|