S
shapper
Hello,
I created a custom control that inherits CompositeControl:
Public Class MySection
Inherits CompositeControl
...
Protected Overrides Sub CreateChildControls()
...
MyBase.CreateChildControls()
Me.ChildControlsCreated = True
End Sub
End Class MySection
When I use this control I define its ID and CssClass.
However, when I check the rendered output the ID and CssClass are not
defined.
What am I doing wrong?
Shoudn't this be working, since I am inheriting my control from
CompositeControl?
Thanks,
Miguel
I created a custom control that inherits CompositeControl:
Public Class MySection
Inherits CompositeControl
...
Protected Overrides Sub CreateChildControls()
...
MyBase.CreateChildControls()
Me.ChildControlsCreated = True
End Sub
End Class MySection
When I use this control I define its ID and CssClass.
However, when I check the rendered output the ID and CssClass are not
defined.
What am I doing wrong?
Shoudn't this be working, since I am inheriting my control from
CompositeControl?
Thanks,
Miguel