I am developing some custom ASP.NET controls to handle some of the boilerplate UI elements we want across the range of our applications, part of the requirements for this is of course full styling/theme support.
So I began looking into how to do this, and I have to be honest, I could use some help!
My current implementation is that all the major elements have a string property where you can enter the CSS that you want applied to that item into the designer, and if present, it is rendered within the 'style' attribute of the HTML. This works fine and offers a great deal of flexiblity and control.
My may question is, "is there a better way?" :)
I know the default controls use a style object somehow, although I have not really had the time to investigate how this works fully at this point :( Would be nice to include though, since you would then get to use the Style builder from the designer right?
Any, and all help greatly appreciated. :)