What is CSSfriendly control adapters?

Jul 6, 2007 at 10:09 PM
Hello.

I'm not sure of what the CSS Friendly Control Adapters is.

I'm trying to learn themes/style sheets/skins. Will using this product help me do that?

Thanks,
Tony
Jul 7, 2007 at 3:36 PM
Edited Jul 7, 2007 at 3:41 PM
Using CSS Friendly Control Adapters will help you do themes/stylesheets/skins the right way according to modern web techniques that help make your site usable and accessible to the largest audience.

From the CSS Adapters site: (http://www.asp.net/cssadapters/)

"ASP.NET is a great technology for building web sites but it would be even better if it provided more flexibility for customizing the rendered HTML. For example, the Menu control makes it simple to add a menu to a web site, but it would be better if it didn't create <table> tags and was easier to style using CSS. Happily, it's easy to customize and adapt the Menu control to generate better HTML. Indeed, you can modify any ASP.NET control so it produces exactly the HTML you want.

The key is to use something that may be new to you: control adapters. These are little chunks of logic that you add to your web site to effectively "adapt" an ASP.NET control to render the HTML you prefer. The ASP.NET 2.0 CSS Friendly Control Adapters kit provides pre-built control adapters that you can easily use to generate CSS friendly markup from some of the more commonly used ASP.NET controls."