<?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>Lynggaard.nu &#187; Umbraco</title>
	<atom:link href="http://lynggaard.nu/category/umbraco/feed/" rel="self" type="application/rss+xml" />
	<link>http://lynggaard.nu</link>
	<description>In this blog I'll write about what's going on in my world, like vacations, developing, asp.net, c#</description>
	<lastBuildDate>Fri, 07 Sep 2029 09:58:48 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Adding records to Umbraco Contour programmatically</title>
		<link>http://lynggaard.nu/2010/05/adding-records-to-umbraco-contour-programmatically/</link>
		<comments>http://lynggaard.nu/2010/05/adding-records-to-umbraco-contour-programmatically/#comments</comments>
		<pubDate>Wed, 19 May 2010 11:18:03 +0000</pubDate>
		<dc:creator>Rasmus</dc:creator>
				<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[c#]]></category>
		<category><![CDATA[Umbraco]]></category>
		<category><![CDATA[contour]]></category>

		<guid isPermaLink="false">http://lynggaard.nu/?p=218</guid>
		<description><![CDATA[I just had to programmatically add records to an Umbraco Contour Form. Since I couldn&#8217;t find any documentation on how to do this, I thought I would post how I did this. I have an input box (tbEmail) and a button (btnSubmit). On the click event of btnSubmit I got the following code, that adds [...]]]></description>
			<content:encoded><![CDATA[<p>I just had to programmatically add records to an Umbraco Contour Form. Since I couldn&#8217;t find any documentation on how to do this, I thought I would post how I did this.</p>
<p>I have an input box (tbEmail) and a button (btnSubmit). On the click event of btnSubmit I got the following code, that adds a record to the form.</p>
<div class="geshi no csharp">
<div class="head">btnSubmit_Click</div>
<ol>
<li class="li1">
<div class="de1"><span class="kw1">protected</span> <span class="kw1">void</span> btnSubmit_Click<span class="br0">&#40;</span><span class="kw4">object</span> sender, EventArgs e<span class="br0">&#41;</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#123;</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; var recordStorage <span class="sy0">=</span> <span class="kw3">new</span> RecordStorage<span class="br0">&#40;</span><span class="br0">&#41;</span>;</div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; var formStorage <span class="sy0">=</span> <span class="kw3">new</span> FormStorage<span class="br0">&#40;</span><span class="br0">&#41;</span>;</div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; var form <span class="sy0">=</span> formStorage.<span class="me1">GetForm</span><span class="br0">&#40;</span><span class="kw3">new</span> Guid<span class="br0">&#40;</span><span class="st0">&quot;my form guid&quot;</span><span class="br0">&#41;</span><span class="br0">&#41;</span>;</div>
</li>
<li class="li1">
<div class="de1">&nbsp;</div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; var recordService <span class="sy0">=</span> <span class="kw3">new</span> RecordService<span class="br0">&#40;</span>form<span class="br0">&#41;</span>;</div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; recordService.<span class="me1">Open</span><span class="br0">&#40;</span><span class="br0">&#41;</span>;</div>
</li>
<li class="li1">
<div class="de1">&nbsp;</div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; var record <span class="sy0">=</span> recordService.<span class="me1">Record</span>;</div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; record.<span class="me1">IP</span> <span class="sy0">=</span> Request.<span class="me1">UserHostAddress</span>;</div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; record.<span class="me1">UmbracoPageId</span> <span class="sy0">=</span> umbraco.<span class="me1">presentation</span>.<span class="me1">nodeFactory</span>.<span class="me1">Node</span>.<span class="me1">GetCurrent</span><span class="br0">&#40;</span><span class="br0">&#41;</span>.<span class="me1">Id</span>;</div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; recordStorage.<span class="me1">InsertRecord</span><span class="br0">&#40;</span>record, form<span class="br0">&#41;</span>;</div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">foreach</span> <span class="br0">&#40;</span>var field <span class="kw1">in</span> recordService.<span class="me1">Form</span>.<span class="me1">AllFields</span><span class="br0">&#41;</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#123;</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">if</span> <span class="br0">&#40;</span>field.<span class="me1">Caption</span> <span class="sy0">==</span> <span class="st0">&quot;#Email&quot;</span><span class="br0">&#41;</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#123;</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; var key <span class="sy0">=</span> Guid.<span class="me1">NewGuid</span><span class="br0">&#40;</span><span class="br0">&#41;</span>;</div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; var recordField <span class="sy0">=</span> <span class="kw3">new</span> RecordField<span class="br0">&#40;</span><span class="br0">&#41;</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#123;</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Field <span class="sy0">=</span> field,</div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Key <span class="sy0">=</span> key,</div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Record <span class="sy0">=</span> record.<span class="me1">Id</span>,</div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Values <span class="sy0">=</span> <span class="kw3">new</span> List<span class="sy0">&lt;</span><span class="kw4">object</span><span class="sy0">&gt;</span><span class="br0">&#40;</span><span class="br0">&#41;</span> <span class="br0">&#123;</span> tbEmail.<span class="me1">Text</span> <span class="br0">&#125;</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#125;</span>;</div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; var recordFieldStorage <span class="sy0">=</span> <span class="kw3">new</span> RecordFieldStorage<span class="br0">&#40;</span><span class="br0">&#41;</span>;</div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; recordFieldStorage.<span class="me1">InsertRecordField</span><span class="br0">&#40;</span>recordField<span class="br0">&#41;</span>;</div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; record.<span class="me1">RecordFields</span>.<span class="me1">Add</span><span class="br0">&#40;</span>key, recordField<span class="br0">&#41;</span>;</div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#125;</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#125;</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; recordService.<span class="me1">Submit</span><span class="br0">&#40;</span><span class="br0">&#41;</span>;</div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; recordService.<span class="me1">SaveRecord</span><span class="br0">&#40;</span><span class="br0">&#41;</span>;</div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; recordService.<span class="me1">Dispose</span><span class="br0">&#40;</span><span class="br0">&#41;</span>;</div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#125;</span><span class="sy0">&lt;/</span><span class="kw4">object</span><span class="sy0">&gt;</span></div>
</li>
</ol>
</div>
]]></content:encoded>
			<wfw:commentRss>http://lynggaard.nu/2010/05/adding-records-to-umbraco-contour-programmatically/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>New Umbraco Package</title>
		<link>http://lynggaard.nu/2009/10/new-umbraco-package/</link>
		<comments>http://lynggaard.nu/2009/10/new-umbraco-package/#comments</comments>
		<pubDate>Thu, 15 Oct 2009 19:21:25 +0000</pubDate>
		<dc:creator>Rasmus</dc:creator>
				<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[c#]]></category>
		<category><![CDATA[Umbraco]]></category>
		<category><![CDATA[SEO]]></category>

		<guid isPermaLink="false">http://lynggaard.nu/?p=206</guid>
		<description><![CDATA[I&#8217;ve just made a new Umbraco Package. What it does is, that it automatically creates canonical meta tags, if the url used is not the one found by Umbracos NiceUrl. Especially useful if you use umbracoUrlAlias or umbracoUseDirectoryUrls To use the extension, download the package and install it to your Umbraco solution. When done, just [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve just made a new Umbraco Package. What it does is, that it automatically creates canonical meta tags, if the url used is not the one found by Umbracos NiceUrl. Especially useful if you use umbracoUrlAlias or umbracoUseDirectoryUrls</p>
<p>To use the extension, download the package and install it to your Umbraco solution. When done, just add the [DI]Canonical macro to your templates. If you have a page, that uses that template and uses umbracoUrlAlias and the user/search enginge came via that link, the canonical meta tag will be present in the header.</p>
<p>You can download the source and package at <a href="http://umbcanonical.codeplex.com" target="_blank">codeplex</a></p>
]]></content:encoded>
			<wfw:commentRss>http://lynggaard.nu/2009/10/new-umbraco-package/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>nemhandel.dk on Umbraco</title>
		<link>http://lynggaard.nu/2009/04/nemhandeldk-on-umbraco/</link>
		<comments>http://lynggaard.nu/2009/04/nemhandeldk-on-umbraco/#comments</comments>
		<pubDate>Tue, 21 Apr 2009 05:44:49 +0000</pubDate>
		<dc:creator>Rasmus</dc:creator>
				<category><![CDATA[New releases]]></category>
		<category><![CDATA[Umbraco]]></category>

		<guid isPermaLink="false">http://lynggaard.nu/?p=156</guid>
		<description><![CDATA[How did I forget about this. Last week we launched nemhandel.dk. Nemhandel.dk is build on Umbraco and is, what I think a nice implementation of a public sector site.]]></description>
			<content:encoded><![CDATA[<p>How did I forget about this. Last week we launched <a href="http://www.nemhandel.dk" target="_blank">nemhandel.dk</a>. <a href="http://www.nemhandel.dk" target="_blank">Nemhandel.dk</a> is build on Umbraco and is, what I think a nice implementation of a public sector site.</p>
]]></content:encoded>
			<wfw:commentRss>http://lynggaard.nu/2009/04/nemhandeldk-on-umbraco/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>validateRequest in Umbraco v4</title>
		<link>http://lynggaard.nu/2009/02/validaterequest-in-umbraco-v4/</link>
		<comments>http://lynggaard.nu/2009/02/validaterequest-in-umbraco-v4/#comments</comments>
		<pubDate>Tue, 24 Feb 2009 11:08:16 +0000</pubDate>
		<dc:creator>Rasmus</dc:creator>
				<category><![CDATA[Umbraco]]></category>
		<category><![CDATA[c#]]></category>

		<guid isPermaLink="false">http://lynggaard.nu/?p=103</guid>
		<description><![CDATA[In Umbrao v4 validateRequest=false in web.config has no effect. Instead you should on your user control in Page_Init do the following: ((umbraco.UmbracoDefault)Page).ValidateRequest = false; For more see this post on the Umbraco Forum: http://forum.umbraco.org/yaf_postst7313_usercontrol-and-ValidateRequest.aspx]]></description>
			<content:encoded><![CDATA[<p>In Umbrao v4 validateRequest=false in web.config has no effect. Instead you should on your user control in Page_Init do the following:</p>
<p>((umbraco.UmbracoDefault)Page).ValidateRequest = false;</p>
<p>For more see this post on the Umbraco Forum:<br />
<a href="http://forum.umbraco.org/yaf_postst7313_usercontrol-and-ValidateRequest.aspx" target="_blank">http://forum.umbraco.org/yaf_postst7313_usercontrol-and-ValidateRequest.aspx</a></p>
]]></content:encoded>
			<wfw:commentRss>http://lynggaard.nu/2009/02/validaterequest-in-umbraco-v4/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Even nicer URLs in Umbraco</title>
		<link>http://lynggaard.nu/2009/01/even-nicer-urls-in-umbraco/</link>
		<comments>http://lynggaard.nu/2009/01/even-nicer-urls-in-umbraco/#comments</comments>
		<pubDate>Thu, 22 Jan 2009 14:17:19 +0000</pubDate>
		<dc:creator>Rasmus</dc:creator>
				<category><![CDATA[Umbraco]]></category>
		<category><![CDATA[iis]]></category>

		<guid isPermaLink="false">http://lynggaard.nu/?p=75</guid>
		<description><![CDATA[A lot of people like to have nice URLs in their website. That&#8217;s quite understandable, since it makes them easier to understand and also easier for search engines to read. Umbraco have a build in nice URL engine that makes URLs almost as nice as I would like to, except for the .aspx extension To [...]]]></description>
			<content:encoded><![CDATA[<p>A lot of people like to have nice URLs in their website. That&#8217;s quite understandable, since it makes them easier to understand and also easier for search engines to read. Umbraco have a build in nice URL engine that makes URLs almost as nice as I would like to, except for the .aspx extension</p>
<p>To remove the .aspx extension from Umbraco solutions you need to do two things</p>
<p><span id="more-75"></span></p>
<p>I) Set the umbracoUseDirectoryUrls to true in web.config</p>
<p>II) Set up IIS to accept wild card mapping</p>
<p style="padding-left: 30px;">1) Right click your website in IIS and choose properties<br />
2) Go to the Home folder tab<br />
3) Click configuration</p>
<p>In IIS5 (W2K)<br />
4) Click the Add button<br />
5) Add the following values:<br />
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll<br />
.*<br />
Limit to: GET,HEAD,POST,TRACE<br />
Uncheck the verify file exists</p>
<p>In IIS6 (W2K3)<br />
4) Click the Insert button in the &#8220;Wildcard application maps&#8221; area<br />
5) Add the following values:<br />
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll<br />
Uncheck the verify file exists</p>
]]></content:encoded>
			<wfw:commentRss>http://lynggaard.nu/2009/01/even-nicer-urls-in-umbraco/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>myebag.dk launched</title>
		<link>http://lynggaard.nu/2008/11/myebagdk-launched/</link>
		<comments>http://lynggaard.nu/2008/11/myebagdk-launched/#comments</comments>
		<pubDate>Tue, 04 Nov 2008 21:35:07 +0000</pubDate>
		<dc:creator>Rasmus</dc:creator>
				<category><![CDATA[New releases]]></category>
		<category><![CDATA[Umbraco]]></category>

		<guid isPermaLink="false">http://lynggaard.nu/?p=54</guid>
		<description><![CDATA[So now we launched another site at Designit. A cool thing about this site is that it&#8217;s entirely Umbraco based. We haven&#8217;t developed a single usercontrol, hardcoded anything or other shortcuts to manage this website. See the website at: http://www.myebag.dk]]></description>
			<content:encoded><![CDATA[<p>So now we launched another site at Designit. A cool thing about this site is that it&#8217;s entirely Umbraco based. We haven&#8217;t developed a single usercontrol, hardcoded anything or other shortcuts to manage this website.</p>
<p>See the website at: <a title="www.myebag.dk" href="http://www.myebag.dk" target="_blank">http://www.myebag.dk</a></p>
]]></content:encoded>
			<wfw:commentRss>http://lynggaard.nu/2008/11/myebagdk-launched/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Stacktrace in Umbraco</title>
		<link>http://lynggaard.nu/2008/09/stacktrace-in-umbraco/</link>
		<comments>http://lynggaard.nu/2008/09/stacktrace-in-umbraco/#comments</comments>
		<pubDate>Thu, 18 Sep 2008 09:38:47 +0000</pubDate>
		<dc:creator>Rasmus</dc:creator>
				<category><![CDATA[Umbraco]]></category>

		<guid isPermaLink="false">http://lynggaard.nu/?p=43</guid>
		<description><![CDATA[This is a good one for debugging Umbraco solutions&#8230; You can show the stacktrace by adding ?umbdebugshowtrace=true onto the end of the URL.]]></description>
			<content:encoded><![CDATA[<p>This is a good one for debugging Umbraco solutions&#8230;</p>
<p>You can show the stacktrace by adding <strong>?umbdebugshowtrace=true</strong> onto the end of the URL.</p>
]]></content:encoded>
			<wfw:commentRss>http://lynggaard.nu/2008/09/stacktrace-in-umbraco/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Recursive Property</title>
		<link>http://lynggaard.nu/2008/09/recursive-property/</link>
		<comments>http://lynggaard.nu/2008/09/recursive-property/#comments</comments>
		<pubDate>Wed, 03 Sep 2008 18:31:59 +0000</pubDate>
		<dc:creator>Rasmus</dc:creator>
				<category><![CDATA[Umbraco]]></category>
		<category><![CDATA[c#]]></category>

		<guid isPermaLink="false">http://lynggaard.nu/?p=27</guid>
		<description><![CDATA[Af en eller anden årsag kan man ikke i Umbraco (eller også har jeg ikke fundet ud af hvordan) fra codebehind få fat i en property, som ikkeer på selve noden, men på en parent node. Man kan sagtens fra designview der angiver man blot recursive=true. Jeg har derfor lavet en lille funktion, som kan [...]]]></description>
			<content:encoded><![CDATA[<p>Af en eller anden årsag kan man ikke i Umbraco (eller også har jeg ikke fundet ud af hvordan) fra codebehind få fat i en property, som ikkeer på selve noden, men på en parent node. Man kan sagtens fra designview der angiver man blot recursive=true.</p>
<p>Jeg har derfor lavet en lille funktion, som kan kaldes hvis/når man har brug for at få fat i en property fra en parent.</p>
<div class="geshi no csharp">
<div class="head">GetRecursiveProperty</div>
<ol>
<li class="li1">
<div class="de1"><span class="kw1">public</span> <span class="kw1">static</span> Property GetRecursiveProperty<span class="br0">&#40;</span>Node selectedNode, <span class="kw4">string</span> propertyAlias<span class="br0">&#41;</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#123;</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp;</div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Property p <span class="sy0">=</span> selectedNode.<span class="me1">GetProperty</span><span class="br0">&#40;</span>propertyAlias<span class="br0">&#41;</span>;</div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">if</span> <span class="br0">&#40;</span>p <span class="sy0">!=</span> <span class="kw1">null</span><span class="br0">&#41;</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">return</span> p;</div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">if</span> <span class="br0">&#40;</span>selectedNode.<span class="me1">Parent</span> <span class="sy0">!=</span> <span class="kw1">null</span><span class="br0">&#41;</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">return</span> GetRecursiveProperty<span class="br0">&#40;</span>selectedNode.<span class="me1">Parent</span>, propertyAlias<span class="br0">&#41;</span>;</div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">return</span> <span class="kw1">null</span>;</div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp; &nbsp; <span class="br0">&#125;</span></div>
</li>
</ol>
</div>
<p>Den kan du blot kalde med den node hvor du skal bruge property&#8217;en og det propertyAlias du leder efter, så finder den din property for dig.</p>
]]></content:encoded>
			<wfw:commentRss>http://lynggaard.nu/2008/09/recursive-property/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Certified developer</title>
		<link>http://lynggaard.nu/2008/08/certified-developer/</link>
		<comments>http://lynggaard.nu/2008/08/certified-developer/#comments</comments>
		<pubDate>Thu, 28 Aug 2008 15:17:22 +0000</pubDate>
		<dc:creator>Rasmus</dc:creator>
				<category><![CDATA[Umbraco]]></category>

		<guid isPermaLink="false">http://lynggaard.nu/?p=22</guid>
		<description><![CDATA[Today I passed the Certified Umbraco Developer Level 2 certification &#8211; hurray for me]]></description>
			<content:encoded><![CDATA[<p>Today I passed the Certified Umbraco Developer Level 2 certification &#8211; hurray for me <img src='http://lynggaard.nu/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p><img class="alignnone size-full wp-image-23" title="cert" src="http://lynggaard.nu/wp-content/uploads/2008/08/cert.jpg" alt="Certified Professional Umbraco Developer" width="98" height="128" /></p>
]]></content:encoded>
			<wfw:commentRss>http://lynggaard.nu/2008/08/certified-developer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

