Hi
I'm having a problem creating a new CompositeControl.
Currently I have a custom control that inherits from TextBox, the control DOES NOT have the Style property defined, but I can set the property in the page Markup and the style will be applied correctly.
I'm trying to create a CompositeControl with the same functionality as the custom control, everything works fine until I try to set the Style property on the control, in compile time this error is thrown: "The 'Style' property cannot be set declaratively", this keeps happening even if I declare the 'Style' property in the code for the CompositeControl (Even if I use the 'new' keyword).
I cannot understand why I get the error in one of the controls and not in the other one.
Any advice will be appreciated.
Thanks