P
Peter Rilling
Hi,
I am creating some ASP.NET composite server controls (inheriting from
CompositeControl). Right now I have the styles for the various objects
hardcoded, but what I would like to do is allow the user to use a stylesheet
without actually knowing the internal structure of the control. I am
insterested in knowing some of the best pracises for using stylesheets with
composite controls.
For example, when a person sets a border style on the main object, I would
like it not to affect the main container but rather the chile controls such
as textboxes and so on.
I am creating some ASP.NET composite server controls (inheriting from
CompositeControl). Right now I have the styles for the various objects
hardcoded, but what I would like to do is allow the user to use a stylesheet
without actually knowing the internal structure of the control. I am
insterested in knowing some of the best pracises for using stylesheets with
composite controls.
For example, when a person sets a border style on the main object, I would
like it not to affect the main container but rather the chile controls such
as textboxes and so on.