CSS Control Adapters Released under MS Permissive License! 

Friday, April 28, 2006 4:33:49 AM

A while back I posted about cleaner ASP.NET server control rendering coming soon via CSS Cntrol Adapters.

Microsoft just released some nice sample CSS adapaters under their new Permissive License.
You can get the source here and read the white paper about CSS Control Adapters here

This is awesome! No more nasty nested tables for the ASP.NET Menu and TreeView controls with these new samples and it should be possible to make additional adpaters to take control of the rendering of any other server controls where we don't like the default markup output.

I'll blog more about this after I have a chance to check it out. I've noticed that web part zones also use table layouts, hopefully I will be able to change that using this technique as well.

Update:10:48 am

My previous excitement is almost completely diminished because I just noticed a new clause in the MS Permissive license that states the license only applies to apps developed for the windows platform. This clause was not in the previous version of this license that I read in relation to their sample provider model implementations that MS made available earlier this month. This does not lead me to believe that I can use these examples in my work with mojoPortal since it targets both the .NET runtime and Mono. How lame, just when I thought MS was starting to learn how to play nice in open source. Now I don't even want to look at their code as I will need to do a clean room implementation just based on studying the Control Adapter architecture. Yuck! How dissapointing! They have taken down the links I posted above since this morning and say it will be back online next tuesday but that doesn't help me at all unless they remove that clause.

Update 4/29/2006 9:16 pm

Its looking hopeful that the license discrepancy was a mistake and the CSS Control Adapter samples will be available for use in true open source form. I'm thinking there was just a mistake in the web  page linked above for the Permissive License, it is not the same as the Permissive License here so I'm thinking they just put the wrong text (the text for the Limited Permissive License) in the body of the page and it will all be better on tuesday when they re-do the official release. Thanks to those who have posted comments and those who have emailed with me. We'll find out for sure on Tuesday but for now I'm giving them the benefit of the doubt.

Update 4/30/2006 4:14 PM CST

I just heard back from Scott Guthrie and they are going to correct the license issue. So my excitement for these samples has returned fully. Can't wait to use them!

Update 5/2/2006 7:12PM CST

The download for the CSS Control Adpater samples is back online and as promised the license is corrected to the MS Permissive License with no clause about platform! Kudos and Thanks to Microsoft and Scott Guthrie.
This means I will be able to use the ASP.NET Menu sample in mojoPortal which will get rid of a whole mess of tables and render the menu as ul and li elements which is much more appropriate. Sweet!

Update 5/10/2006 8:00pm CST

This site is now using the sample Menu Adapter with a few modifications. If you view the source of this page you will see the menu no longer is rendered as nasty nested tables but as nice ul and li elements.
Very nice!

Share This Using Popular Bookmarking Services

re: CSS Control Adapters Released under MS Permissive License!

Friday, April 28, 2006 6:31:16 AM RichB
It's been taken down - back on Tuesday.

re: CSS Control Adapters Released under MS Permissive License!

Friday, April 28, 2006 9:15:38 AM Aaron King
GRRRR!

re: CSS Control Adapters Released under MS Permissive License!

Friday, April 28, 2006 12:58:32 PM Scott Lowe

re: CSS Control Adapters Released under MS Permissive License!

Friday, April 28, 2006 1:10:50 PM Scott Lowe
Apologies for the double post. The form doesn't work in Safari (switched to Firefox).

This new twist does leave a bad taste in the mouth. But if we give MS the benefit of the doubt for a moment: Is this perhaps one of those situations where the legal department is not in tune with the developers themselves? Is it worth writing to Scott Guthrie and his team after the release next week and seeing if he can have any influence to get this overturned?

With reference to complying with the requirements, but getting what you want - I'm wondering: Could it be that it's just a matter of re-phrasing your intent in order to comply, i.e. Surely you could say that your app _is_ developed to run on the  Windows platform, but just _happens_ to run perfectly well on UNIX? ;o)

-- Scott

re: CSS Control Adapters Released under MS Permissive License!

Friday, April 28, 2006 1:25:36 PM Joe
Yes, its definitely worth following up. I'm actually hoping its a mistake, the link I posted above has the name MS Permissive License but if you look at this link for MS Permissive License it makes no mention of the platform requirement, whereas if you look at this link for the Limited Permissive License, it does mention the platform requirement.

So I'm hoping its a mistake where they put the correct name for the license but then put the wrong text. I'm keeping my fingers crossed that things will look better on tuesday when they release it again but if not I do at least plan to petition Scott Gu for help, its certainly worth a try.

Joe

re: CSS Control Adapters Released under MS Permissive License!

Friday, April 28, 2006 1:33:11 PM Joe
I'd like to add further that the MS Permissive license is the first real open source license I've seen from MS and it is what has got me thinking recently that they are finally getting open source.

I would say though that if they truly do keep the platform requirement I can't use it in my project and still call my project an open source project by the OSI definition and as far as I'm concerned that means I can't use it.

I'm really only interested in the sample for the ASP.NET menu, it would be great to be able to use it but if not I don't think it will be a huge deal to create my own implementation. There are other server controls that I'd like to change like WebPartZone which have no samples so I'm going to have to learn how to do it anyway.

Joe

re: CSS Control Adapters Released under MS Permissive License!

Saturday, April 29, 2006 3:41:10 PM zz

Scott Guthrie just mentioned in his blog about the Permissive License for CSS Control Adapters do include non-Windows platforms:

http://weblogs.asp.net/scottgu/archive/2006/04/28/444383.aspx#444479

I hope that clears it up for everybody.


re: CSS Control Adapters Released under MS Permissive License!

Saturday, April 29, 2006 11:53:18 PM Fredrik
"Platform Limitation- The licenses granted in sections 2(A) & 2(B) extend only to the software or derivative works that you create that run on a Microsoft Windows operating system product."


Maybe I'm wrong, but as I read the text above you can use your work with mono as long as it runs on a Windows OS also.

But you can't take the samples and create somthing that only works mono.


/Fredrik

re: CSS Control Adapters Released under MS Permissive License!

Sunday, April 30, 2006 9:47:02 AM dan
Gee, Microsoft doesnt want to play nice with other platforms?  HOW SUPRISING!  Now watch and see .Net 3.0 released under a similar license.

re: CSS Control Adapters Released under MS Permissive License!

Sunday, April 30, 2006 10:02:23 AM Joe Audette
Thats not relevant to this blog post.

The .NET Runtime has never been released under an open source license or promised to be released that way.
I am only talking about some sample code released for ASP.NET developers.
I don't expect them to release their runtime implementation as open source.

Please lets not turn this into a forum for general criticisms of Microsoft or I will have to start deleting off topic comments.

I have followed up with Scott Guthrie and he is looking into the license issue.  I'm satisfied with that for now, lets just wait and see what happens with this specific issue.

Joe

Comments are closed on this post.
Donate Money to support the mojoPortal Project. View Joe Audette's profile on LinkedIn View Joe Audette's profile on The Guild of Accessible Web Designers site