New version of C1Contrib

Topics: Release notes
Mar 31, 2011 at 11:50 PM
Edited Apr 1, 2011 at 12:00 AM

Besides some fixes regarding virtual directories and easier compilation without needing MVC3, the coolest addition is the ability to execute C1 functions directly in a WebForms context (Masterpage or inside a usercontrol). This is done with the Function control like this

<rendering:function runat="server">
   <f:function name="Composite.Navigation.Path" xmlns:f="http://www.composite.net/ns/function/1.0"> 
     <f:param name="Level" value="0" /> 
   </f:function>
</rendering> 

It will even make sure that output that should go to <head> will correctly be appended to the page's <head> tag.

Thnx to rowdyrobot for making this request.

The markup for inserting page-content has also been simplified so it is now 

<rendering:placeholder id="contentplaceholder" title="Content" default="true" runat="server" />

notice the ressemblance with the C1 xml markup - it was intentional ;)

Mar 31, 2011 at 11:56 PM

Thank YOU burningice! These are all wonderful additions to your project. I have already downloaded it and am in the process of implementing them.

All of your effort helping us has ensured the C1 will be a reliable and useful addition for our new site.

Many, many, many thanks!!!

Apr 1, 2011 at 12:03 AM

Sweet! Being able to call C1 Functions (like MvcPlayer ;-) from .master pages is the last piece of the puzzle :)

Apr 1, 2011 at 9:42 PM

heh.... well, i see no problem why calling the mvc-player function from a masterpage shouldn't work! :) its all getting a bit tangled now, but thats how we like it right... the more options the better!

Apr 17, 2011 at 5:27 PM

Starting from the latest check in made today, containing a MembershipProvider, i will be releasing binaries as well in both debug and release mode. Expect to see native C1 Packages to come soon.

http://compositec1contrib.codeplex.com/SourceControl/changeset/changes/65923