Facilitating the spread of knowledge and innovation in professional software development



Choose your language

InfoQ Homepage News CSS Control Adapter Toolkit Update Beta 2

CSS Control Adapter Toolkit Update Beta 2

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.
We need your feedback

How might we improve InfoQ for you

Thank you for being an InfoQ reader.

Each year, we seek feedback from our readers to help us improve InfoQ. Would you mind spending 2 minutes to share your feedback in our short survey? Your feedback will directly help us continually evolve how we support you.

Take the Survey

Rate this Article


Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Community comments

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p


Is your profile up-to-date? Please take a moment to review and update.

Note: If updating/changing your email, a validation request will be sent

Company name:
Company role:
Company size:
You will be sent an email to validate the new email address. This pop-up will close itself in a few moments.