<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>sides of march &#187; CSSFriendly</title>
	<atom:link href="http://www.sidesofmarch.com/index.php/archive/tag/cssfriendly/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.sidesofmarch.com</link>
	<description>Thoughts on life, liberty, and information technology</description>
	<lastBuildDate>Mon, 16 Jan 2012 02:43:26 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>CSS Friendly Control Adapters now available on NuGet</title>
		<link>http://www.sidesofmarch.com/index.php/archive/2011/05/20/css-friendly-control-adapters-now-available-on-nuget/</link>
		<comments>http://www.sidesofmarch.com/index.php/archive/2011/05/20/css-friendly-control-adapters-now-available-on-nuget/#comments</comments>
		<pubDate>Fri, 20 May 2011 23:32:56 +0000</pubDate>
		<dc:creator>brian</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[ASP.Net]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[CSSFriendly]]></category>
		<category><![CDATA[Web Forms]]></category>

		<guid isPermaLink="false">http://www.sidesofmarch.com/?p=538</guid>
		<description><![CDATA[<p>Back in the days of <a href="http://www.asp.net/web-forms">Web Forms</a>, there were server controls, and they generated rather CSS-unfriendly HTML. So, Microsoft got someone (<a href="http://www.groovybits.com/">Russ Helfand</a>) to write adapters that changed their rendering to be more CSS-friendly: the “<strong>CSS Friendly Control Adapters</strong>” were born.</p>
<p>A little less farther back, in 2007, I tried convincing some people at Microsoft to let the community continue development of these adapters, and they agreed. The <a href="http://cssfriendly.codeplex.com/">CSSFriendly CodePlex project</a> was born, and a bunch of bugs and some new features were added.</p>
<p>A lot has changed since then, but the adapters still have use today for people stuck on .Net 2.0 (they’re in the top 200 most downloaded CodePlex projects, and <a href="http://forums.asp.net/1018.aspx/1?CSS+Friendly+Control+Adapters">their forums still see activity</a>). To facilitate those who still use CSSFriendly, I’ve <a href="http://nuget.org/List/Packages/CSSFriendly">added the library package to NuGet</a>.</p>
<p><strong>How to use the CSSFriendly NuGet package</strong></p>
<p><a href="http://www.sidesofmarch.com/wp-content/uploads/cssfriendly-nuget-package1.png"></a>In four easy steps (three if you already have NuGet).</p>

First, you need Visual Studio 2010 and <a href="http://nuget.org/">NuGet</a>. (If you’re <span style="color:#777"> . . .<br /><br />&#8594; Read More: <a href="http://www.sidesofmarch.com/index.php/archive/2011/05/20/css-friendly-control-adapters-now-available-on-nuget/">CSS Friendly Control Adapters now available on NuGet</a></span>]]></description>
			<content:encoded><![CDATA[<p>Back in the days of <a href="http://redirectingat.com?id=17923X751173&xs=1&url=http%3A%2F%2Fwww.asp.net%2Fweb-forms&sref=rss">Web Forms</a>, there were server controls, and they generated rather CSS-unfriendly HTML. So, Microsoft got someone (<a href="http://redirectingat.com?id=17923X751173&xs=1&url=http%3A%2F%2Fwww.groovybits.com%2F&sref=rss">Russ Helfand</a>) to write adapters that changed their rendering to be more CSS-friendly: the “<strong>CSS Friendly Control Adapters</strong>” were born.</p>
<p>A little less farther back, in 2007, I tried convincing some people at Microsoft to let the community continue development of these adapters, and they agreed. The <a href="http://redirectingat.com?id=17923X751173&xs=1&url=http%3A%2F%2Fcssfriendly.codeplex.com%2F&sref=rss">CSSFriendly CodePlex project</a> was born, and a bunch of bugs and some new features were added.</p>
<p>A lot has changed since then, but the adapters still have use today for people stuck on .Net 2.0 (they’re in the top 200 most downloaded CodePlex projects, and <a href="http://redirectingat.com?id=17923X751173&xs=1&url=http%3A%2F%2Fforums.asp.net%2F1018.aspx%2F1%3FCSS%2BFriendly%2BControl%2BAdapters&sref=rss">their forums still see activity</a>). To facilitate those who still use CSSFriendly, I’ve <a href="http://redirectingat.com?id=17923X751173&xs=1&url=http%3A%2F%2Fnuget.org%2FList%2FPackages%2FCSSFriendly&sref=rss">added the library package to NuGet</a>.</p>
<p><strong>How to use the CSSFriendly NuGet package</strong></p>
<p><a href="http://www.sidesofmarch.com/wp-content/uploads/cssfriendly-nuget-package1.png"><img style="background-image: none; margin: 0px 0px 16px 16px; padding-left: 0px; padding-right: 0px; display: inline; float: right; padding-top: 0px; border: 0px;" title="cssfriendly-nuget-package" src="http://www.sidesofmarch.com/wp-content/uploads/cssfriendly-nuget-package_thumb1.png" border="0" alt="cssfriendly-nuget-package" width="433" height="218" align="right" /></a>In four easy steps (three if you already have NuGet).</p>
<ol>
<li>First, you need Visual Studio 2010 and <a href="http://redirectingat.com?id=17923X751173&xs=1&url=http%3A%2F%2Fnuget.org%2F&sref=rss">NuGet</a>. (If you’re new to NuGet, <a href="http://redirectingat.com?id=17923X751173&xs=1&url=http%3A%2F%2Fdocs.nuget.org%2F&sref=rss">read the getting started documentation</a>.)</li>
<li>Next, right-click the <strong>References</strong> folder and choose <strong>Add Library Package Reference</strong>.</li>
<li>In the Add Library Package Reference window, search for “cssfriendly.”</li>
<li>When you see the CSSFriendly package, click the Install button.</li>
</ol>
<p>After it installs, the following is added to your project:</p>
<ul>
<li>The CSSFriendly library reference</li>
<li>The CSSFriendlyAdapters.browser file in the App_Browsers folder</li>
</ul>
<p>At that point, you’re ready to go!</p>
<p>The full source of the CSSFriendly library is still available at CodePlex: <a href="http://redirectingat.com?id=17923X751173&xs=1&url=http%3A%2F%2Fcssfriendly.codeplex.com&sref=rss">http://cssfriendly.codeplex.com</a>. Downloads there include sample code and walkthroughs.</p>
<p>Enjoy, and let me know if you have any issues!</p>
<img src="http://www.sidesofmarch.com/?ak_action=api_record_view&id=538&type=feed" alt="" /><div class="addthis_toolbox addthis_default_style addthis_32x32_style" addthis:url='http://www.sidesofmarch.com/index.php/archive/2011/05/20/css-friendly-control-adapters-now-available-on-nuget/' addthis:title='CSS Friendly Control Adapters now available on NuGet ' ><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_preferred_4"></a><a class="addthis_button_compact"></a></div>]]></content:encoded>
			<wfw:commentRss>http://www.sidesofmarch.com/index.php/archive/2011/05/20/css-friendly-control-adapters-now-available-on-nuget/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Announcing the ASP.Net Control Adapters, a new open source project</title>
		<link>http://www.sidesofmarch.com/index.php/archive/2008/10/04/announcing-aspnet-control-adapters-a-new-open-source-project/</link>
		<comments>http://www.sidesofmarch.com/index.php/archive/2008/10/04/announcing-aspnet-control-adapters-a-new-open-source-project/#comments</comments>
		<pubDate>Sun, 05 Oct 2008 03:43:07 +0000</pubDate>
		<dc:creator>brian</dc:creator>
				<category><![CDATA[Personal]]></category>
		<category><![CDATA[ASP.Net Control Adapters]]></category>
		<category><![CDATA[CSSFriendly]]></category>
		<category><![CDATA[Open Source]]></category>

		<guid isPermaLink="false">http://www.sidesofmarch.com/?p=289</guid>
		<description><![CDATA[<p>Over the past few weeks, I started doing some experimentation with a different approach to changing the rendering of default ASP.Net controls. For a few years, I (and many others) have used the <a href="http://www.codeplex.com/cssfriendly">CSSFriendly</a> project for this. That project does some nice things, but has many shortcomings.</p>
<p>I hemmed and hawed about this a bit (see <a href="http://www.sidesofmarch.com/index.php/archive/2008/09/23/rewriting-the-aspnet-css-friendly-adapters-does-anyone-care/"><em>Rewriting the ASP.Net CSS Friendly Adapters &#8211; does anyone care?</em></a>), but in the end some fundamental interest &#8212; and the underlying popularity of the CSSFriendly project (consistently in the top-20 downloads on CodePlex) made me decide to go ahead with it.</p>
<p>So, I am proud to announce a new open source project: the ASP.Net Control Adapters!</p>
<p>The project site is hosted through Google Code: <a href="http://code.google.com/p/aspnetcontroladapters/">http://code.google.com/p/aspnetcontroladapters/</a></p>
<p>I have checked in my original test/experimentation code, cleaned up a bit to make it more useful. It implements limited support for the CheckBoxList control. Source code includes the main project, a UnitTests project (using <a href="http://www.nunit.org/index.php">NUnit</a>), a WebTests project (a <span style="color:#777"> . . .<br /><br />&#8594; Read More: <a href="http://www.sidesofmarch.com/index.php/archive/2008/10/04/announcing-aspnet-control-adapters-a-new-open-source-project/">Announcing the ASP.Net Control Adapters, a new open source project</a></span>]]></description>
			<content:encoded><![CDATA[<p>Over the past few weeks, I started doing some experimentation with a different approach to changing the rendering of default ASP.Net controls. For a few years, I (and many others) have used the <a href="http://redirectingat.com?id=17923X751173&xs=1&url=http%3A%2F%2Fwww.codeplex.com%2Fcssfriendly&sref=rss">CSSFriendly</a> project for this. That project does some nice things, but has many shortcomings.</p>
<p>I hemmed and hawed about this a bit (see <a href="http://www.sidesofmarch.com/index.php/archive/2008/09/23/rewriting-the-aspnet-css-friendly-adapters-does-anyone-care/"><em>Rewriting the ASP.Net CSS Friendly Adapters &#8211; does anyone care?</em></a>), but in the end some fundamental interest &#8212; and the underlying popularity of the CSSFriendly project (consistently in the top-20 downloads on CodePlex) made me decide to go ahead with it.</p>
<p>So, I am proud to announce a new open source project: the ASP.Net Control Adapters!<span id="more-289"></span></p>
<p>The project site is hosted through Google Code: <a href="http://redirectingat.com?id=17923X751173&xs=1&url=http%3A%2F%2Fcode.google.com%2Fp%2Faspnetcontroladapters%2F&sref=rss">http://code.google.com/p/aspnetcontroladapters/</a></p>
<p>I have checked in my original test/experimentation code, cleaned up a bit to make it more useful. It implements limited support for the <code>CheckBoxList</code> control. Source code includes the main project, a UnitTests project (using <a href="http://redirectingat.com?id=17923X751173&xs=1&url=http%3A%2F%2Fwww.nunit.org%2Findex.php&sref=rss">NUnit</a>), a WebTests project (a web app that invokes the adapted control in a web page), license/readme files, and an <a href="http://redirectingat.com?id=17923X751173&xs=1&url=http%3A%2F%2Fnant.sourceforge.net%2F&sref=rss">NAnt</a> build script.</p>
<p>I also started working on a documentation format, which you can see at <a href="http://redirectingat.com?id=17923X751173&xs=1&url=http%3A%2F%2Fcode.google.com%2Fp%2Faspnetcontroladapters%2Fwiki%2FCheckBoxList&sref=rss">http://code.google.com/p/aspnetcontroladapters/wiki/CheckBoxList</a>.</p>
<p>There&#8217;s still a lot missing in terms of implementation (not even postback support yet!), and unit testing, but in general the programmers out there should be able to understand the approach I&#8217;m taking, and designers/front-end developers can understand the GUI approach.</p>
<p>Still lots to do before this is consumable by others, but I wanted to get this up and hosted.</p>
<p>Also &#8212; there&#8217;s a Google Group for it: <a href="http://redirectingat.com?id=17923X751173&xs=1&url=http%3A%2F%2Fgroups.google.com%2Fgroup%2Faspnetcontroladapters&sref=rss">http://groups.google.com/group/aspnetcontroladapters</a> &#8212; be sure to head there to add to the discussion.</p>
<img src="http://www.sidesofmarch.com/?ak_action=api_record_view&id=289&type=feed" alt="" /><div class="addthis_toolbox addthis_default_style addthis_32x32_style" addthis:url='http://www.sidesofmarch.com/index.php/archive/2008/10/04/announcing-aspnet-control-adapters-a-new-open-source-project/' addthis:title='Announcing the ASP.Net Control Adapters, a new open source project ' ><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_preferred_4"></a><a class="addthis_button_compact"></a></div>]]></content:encoded>
			<wfw:commentRss>http://www.sidesofmarch.com/index.php/archive/2008/10/04/announcing-aspnet-control-adapters-a-new-open-source-project/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Rewriting the ASP.Net CSS Friendly Adapters &#8211; does anyone care?</title>
		<link>http://www.sidesofmarch.com/index.php/archive/2008/09/23/rewriting-the-aspnet-css-friendly-adapters-does-anyone-care/</link>
		<comments>http://www.sidesofmarch.com/index.php/archive/2008/09/23/rewriting-the-aspnet-css-friendly-adapters-does-anyone-care/#comments</comments>
		<pubDate>Tue, 23 Sep 2008 12:33:40 +0000</pubDate>
		<dc:creator>brian</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[ASP.Net]]></category>
		<category><![CDATA[CSSFriendly]]></category>

		<guid isPermaLink="false">http://www.sidesofmarch.com/?p=284</guid>
		<description><![CDATA[<p>A few days ago, I wrote a <a href="http://forums.asp.net/t/1321134.aspx">lengthy post on the official ASP.Net forums</a> where I discussed some thoughts on a new version of the <a href="http://www.codeplex.com/cssfriendly">CSS-friendly ASP.Net control adapters</a>. In the post, I outlined some new approaches to improve testability and configuration.</p>
<p>Since that post (written on the evening of Sept 16), there have been no replies, which leads me to consider a few possible realities&#8230;</p>

No one reads the ASP.Net forums. (Not true; the post was read at least 79 times, as of this writing.)
No one posts on the ASP.Net forums.  (Not true; other posts were written since my post.)
No one uses the CSS Friendly adapters. (Not true; they have been downloaded over 1,800 times in the last week, according to CodePlex &#8212; making it the 14th most popular CodePlex project in that time.)
No one cares about rewriting them.
No one who cares about rewriting them reads the ASP.Net forums.

<p>OK, so either no one cares about improving on what we currently <span style="color:#777"> . . .<br /><br />&#8594; Read More: <a href="http://www.sidesofmarch.com/index.php/archive/2008/09/23/rewriting-the-aspnet-css-friendly-adapters-does-anyone-care/">Rewriting the ASP.Net CSS Friendly Adapters &#8211; does anyone care?</a></span>]]></description>
			<content:encoded><![CDATA[<p>A few days ago, I wrote a <a href="http://redirectingat.com?id=17923X751173&xs=1&url=http%3A%2F%2Fforums.asp.net%2Ft%2F1321134.aspx&sref=rss">lengthy post on the official ASP.Net forums</a> where I discussed some thoughts on a new version of the <a href="http://redirectingat.com?id=17923X751173&xs=1&url=http%3A%2F%2Fwww.codeplex.com%2Fcssfriendly&sref=rss">CSS-friendly ASP.Net control adapters</a>. In the post, I outlined some new approaches to improve testability and configuration.</p>
<p>Since that post (written on the evening of Sept 16), there have been no replies, which leads me to consider a few possible realities&#8230;</p>
<ol>
<li>No one reads the ASP.Net forums. (Not true; the post was read at least 79 times, as of this writing.)</li>
<li>No one posts on the ASP.Net forums.  (Not true; other posts were written since my post.)</li>
<li>No one uses the CSS Friendly adapters. (Not true; they have been downloaded over 1,800 times in the last week, according to CodePlex &#8212; making it the 14th most popular CodePlex project in that time.)</li>
<li>No one cares about rewriting them.</li>
<li>No one who cares about rewriting them reads the ASP.Net forums.</li>
</ol>
<p>OK, so either no one cares about improving on what we currently have, or no one who cares saw my post. Which is it? Do you use the CSS adapters? <em>Would</em> you use them if they were improved?</p>
<img src="http://www.sidesofmarch.com/?ak_action=api_record_view&id=284&type=feed" alt="" /><div class="addthis_toolbox addthis_default_style addthis_32x32_style" addthis:url='http://www.sidesofmarch.com/index.php/archive/2008/09/23/rewriting-the-aspnet-css-friendly-adapters-does-anyone-care/' addthis:title='Rewriting the ASP.Net CSS Friendly Adapters &#8211; does anyone care? ' ><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_preferred_4"></a><a class="addthis_button_compact"></a></div>]]></content:encoded>
			<wfw:commentRss>http://www.sidesofmarch.com/index.php/archive/2008/09/23/rewriting-the-aspnet-css-friendly-adapters-does-anyone-care/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>CSS Friendly ASP.Net Adapter updates to GridView, DetailsView, and FormView</title>
		<link>http://www.sidesofmarch.com/index.php/archive/2008/01/25/css-friendly-aspnet-adapter-updates-to-gridview-detailsview-and-formview/</link>
		<comments>http://www.sidesofmarch.com/index.php/archive/2008/01/25/css-friendly-aspnet-adapter-updates-to-gridview-detailsview-and-formview/#comments</comments>
		<pubDate>Fri, 25 Jan 2008 13:36:26 +0000</pubDate>
		<dc:creator>brian</dc:creator>
				<category><![CDATA[Personal]]></category>
		<category><![CDATA[CSSFriendly]]></category>
		<category><![CDATA[DetailsView]]></category>
		<category><![CDATA[FormView]]></category>
		<category><![CDATA[GridView]]></category>

		<guid isPermaLink="false">http://www.sidesofmarch.com/index.php/archive/2008/01/25/css-friendly-aspnet-adapter-updates-to-gridview-detailsview-and-formview/</guid>
		<description><![CDATA[<p>If you&#8217;ve used the <a href="http://www.codeplex.com/cssfriendly">CSS Friendly ASP.Net Control Adapters</a> in the past, you may want to check out <a href="http://www.codeplex.com/cssfriendly/SourceControl/DownloadSourceCode.aspx?changeSetId=9278">change set 9278</a>, which included a number of improvements to the GridView, DetailsView, and FormView controls.</p>
<p>From the check-in notes:</p>
<blockquote><p>- Major rewrites of GridView, DetailsView, and FormView walkthroughs
- FormView and DetailsView now use PagerTemplate when it exists
- FormView, DetailsView, and GridView properly position pager based on PagerPosition and Visibile properties
- Implemented GridView&#8217;s DataControlRowType.Pager instead of hard-coded CSS class (non-breaking change)</p></blockquote>
<p>The new test &#8220;walkthru&#8221; pages are quite useful. You can now set the control options and see the results of the change immediately without having to modify the code in the ASPX file. Implementing the test pages this way made it much easier to evaluate if the control adapters were doing what they were supposed to do.</p>
<a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a <span style="color:#777"> . . .<br /><br />&#8594; Read More: <a href="http://www.sidesofmarch.com/index.php/archive/2008/01/25/css-friendly-aspnet-adapter-updates-to-gridview-detailsview-and-formview/">CSS Friendly ASP.Net Adapter updates to GridView, DetailsView, and FormView</a></span>]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;ve used the <a href="http://redirectingat.com?id=17923X751173&xs=1&url=http%3A%2F%2Fwww.codeplex.com%2Fcssfriendly&sref=rss">CSS Friendly ASP.Net Control Adapters</a> in the past, you may want to check out <a href="http://redirectingat.com?id=17923X751173&xs=1&url=http%3A%2F%2Fwww.codeplex.com%2Fcssfriendly%2FSourceControl%2FDownloadSourceCode.aspx%3FchangeSetId%3D9278&sref=rss">change set 9278</a>, which included a number of improvements to the GridView, DetailsView, and FormView controls.</p>
<p>From the check-in notes:</p>
<blockquote><p>- Major rewrites of GridView, DetailsView, and FormView walkthroughs<br />
- FormView and DetailsView now use PagerTemplate when it exists<br />
- FormView, DetailsView, and GridView properly position pager based on PagerPosition and Visibile properties<br />
- Implemented GridView&#8217;s DataControlRowType.Pager instead of hard-coded CSS class (non-breaking change)</p></blockquote>
<p>The new test &#8220;walkthru&#8221; pages are quite useful. You can now set the control options and see the results of the change immediately without having to modify the code in the ASPX file. Implementing the test pages this way made it much easier to evaluate if the control adapters were doing what they were supposed to do.</p>
<img src="http://www.sidesofmarch.com/?ak_action=api_record_view&id=220&type=feed" alt="" /><div class="addthis_toolbox addthis_default_style addthis_32x32_style" addthis:url='http://www.sidesofmarch.com/index.php/archive/2008/01/25/css-friendly-aspnet-adapter-updates-to-gridview-detailsview-and-formview/' addthis:title='CSS Friendly ASP.Net Adapter updates to GridView, DetailsView, and FormView ' ><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_preferred_4"></a><a class="addthis_button_compact"></a></div>]]></content:encoded>
			<wfw:commentRss>http://www.sidesofmarch.com/index.php/archive/2008/01/25/css-friendly-aspnet-adapter-updates-to-gridview-detailsview-and-formview/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

