BT

Facilitating the Spread of Knowledge and Innovation in Professional Software Development

Write for InfoQ

Topics

Choose your language

InfoQ Homepage News CSS Control Adapter Toolkit Update Beta 2

CSS Control Adapter Toolkit Update Beta 2

Bookmarks
The CSS Adapter Toolkit beta 2  update is out; it replaces the standard output of ASP.NET controls with CSS-friendly markup. A customizable style sheet is created for each control, allowing you to provide a consistent look and feel site-wide.

This toolkit relies on a 2.0 technology called Control Adapters. These allow you to alter the rendering behavior of a control site-wide. Unlike previous versions of ASP.NET, you do not need to subclass existing controls to get this functionality. Just register them in the web.config file and you are good to go. The developer writing the page need never know the designer is using CSS.

If you want to create your own Control Adapters, you have the additional option of using different versions for each browser. But that shouldn't be necessary for the controls supported by this toolkit. These include:
  • ChangePassword 
  • CreateUser
  • DataList
  • DetailsView
  • FormsView
  • GridView  
  • Login  
  • LoginStatus
  • Menu
  • PasswordRecovery  
  • TreeView
For a walk-through, see Scott Guthrie's web log.

Rate this Article

Adoption
Style

BT