ASP.NET 2.0 CSS Control Adapters Released

Its official -- the ASP.NET 2.0 CSS Friendly Control Adapters have finally been released !

What are CSS Friendly Control Adapters?  Here's what Microsoft says about them:

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.

So go download and install them today -- and start building more CSS Friendly sites with ASP.NET. 

 

Published Wednesday, November 22, 2006 5:31 PM by PaulWilson
Filed under: ,

Comments

# Web Links 11.23.2006 &laquo; Rhonda Tipton&#8217;s WebLog

Wednesday, November 22, 2006 7:24 PM by Web Links 11.23.2006 « Rhonda Tipton’s WebLog

# re: ASP.NET 2.0 CSS Control Adapters Released

Paul -- I've got a precompiled version of the adapters that you can drop into web projects easily. Check it out at http://demarzo.net/archive/2006/11/24/1055.aspx

Friday, November 24, 2006 10:49 AM by Brian

# re: ASP.NET 2.0 CSS Control Adapters Released

I think Microsoft's statement is a lie when they say that "it is easy". If it was so easy why would it take them (with all their resources) so (and i mean SO) long to come up with the final version of the adapters?

If you look at the code of some of the existing controls inside BCL you will see that there is a lot of logic in methods that are normally replaced by the ones provided by adapters. Now since adapters are only adapters and no new classes, I suppose that we have the very same logic duplicated in them!

Other than that, It is Microsoft's problem and not ours and I'm happy about the CSS adapters :-)

Tuesday, November 28, 2006 6:59 AM by Michal Talaga

Leave a Comment

(required) 
(required) 
(optional)
(required)