CSS Friendly Control Adapters - CSSFriendly.dll

From: http://www.codeplex.com/cssfriendly 

Project Description

The CSS Friendly Control Adapters kit (for ASP.Net 2.0) 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.

News


A new version of these adapters is in development! Head over to http://code.google.com/p/aspnetcontroladapters for more information and to preview what's been done so far.

Goals

The goal of the CSS Friendly project is to transform as many of the traditional ASP.Net web controls to provide CSS-friendly, browser-compatible markup. The project will be released as a single DLL which can be referenced in any web project for simple distribution.

Implementation

Users are expected to be familiar with referencing and using third-party assemblies into their existing ASP.Net projects.

1. Downloading the current release. There are two ways you can do this:
  • Go to the Releases tab. You should see three prominent links to files. The zip file contains the source code, the CSSFriendly.dll file contains the compiled source code, and the the CSSFriendlyAdapters.browser file is a configuration file. You only need the dll and browser files.
  • Go to the Source Code tab. Download the latest change set (source code) by clicking the Download tab. This will include the source code, a test/sample web site, and the CSSFriendlyAdapters.browser configuration file. Open the source code project in Visual Studio, compile it to produce CSSFriendly.dll file. Note that the latest change set has many features and bug fixes over the latest release, but is not as well tested in production environments.

2. Add a reference to CSSFriendly.dll. This is typically done by right-clicking your web project, choosing the Add References command, browsing for the CSSFriendly.dll file, and clicking OK.

3. Add the CSSFriendlyAdapters.browser file to the App Browsers folder in the root of your web project. If the AppBrowsers folder doesn't exist, create it.

Note: You can delete lines from the configuration file if you do not want to use the modified adapters for certain controls.

你可能感兴趣的:(Adapter)