CSS Friendly ASP.NET 2.0 Control Adapters - CSS Optimized Markup for ASP.NET Controls

Microsoft just relased ( beta 2 ) CSS Friendly ASP.NET 2.0 Control Adapters that render pure CSS optimized markup for ASP.NET Controls. Control adapters are a new built-in extensibility mechanism in ASP.NET 2.0 that allows you to hook into any ASP.NET server control and change the rendering of that control.

There are control adapters for the following controls:

  • Menu
  • TreeView
  • DetailsView
  • FormsView
  • DataList
  • GridView (new)
  • Login (new)
  • ChangePassword (new)
  • CreateUser (new)
  • PasswordRecovery (new)
  • LoginStatus (new)

When you download and install the CSS Friendly Control Adapters, there is a new project template under My Templates, called ASP.NET CSS Friendly Website, that you can use to create a new website project. Inside the project template are a few samples using the Menu, Treeview, etc. controls showing off the new Control Adapters.

 

The amount of files that get added to your website is noticeable:

 

 

If you want to add the CSS Control Adapters to an existing website, read the whitepaper which has a step-by-step guide to integrating the CSS Friendly Control Adapters to an existing website. I also recommend checking out the CSS Friendly Control Adapters forum.

In addition, Scott Guthrie has two great posts on the new CSS Friendly Control Adapters: CSS Control Adapter Toolkit for ASP.NET 2.0 and CSS Control Adapter Toolkit Update.


原文: CSS Friendly ASP.NET 2.0 Control Adapters - CSS Optimized Markup for ASP.NET Controls

posted on 2006-09-13 14:12  Daniel Pang  阅读(1154)  评论(0编辑  收藏  举报

导航