<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Matthew Cosier's Blog</title>
	<atom:link href="http://cosier.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://cosier.wordpress.com</link>
	<description>SharePoint, Office, Virtualisation and all things Microsoft.</description>
	<lastBuildDate>Tue, 24 Nov 2009 00:42:57 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='cosier.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/235b43fe59c73edec371b109fac69584?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>Matthew Cosier's Blog</title>
		<link>http://cosier.wordpress.com</link>
	</image>
			<item>
		<title>umbraco : Object reference not set to an instance of an object in administration section</title>
		<link>http://cosier.wordpress.com/2009/11/24/umbraco-object-reference-not-set-to-an-instance-of-an-object-in-administration-section/</link>
		<comments>http://cosier.wordpress.com/2009/11/24/umbraco-object-reference-not-set-to-an-instance-of-an-object-in-administration-section/#comments</comments>
		<pubDate>Tue, 24 Nov 2009 00:42:57 +0000</pubDate>
		<dc:creator>cosier</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[umbraco]]></category>

		<guid isPermaLink="false">http://cosier.wordpress.com/?p=470</guid>
		<description><![CDATA[If when you click on a node within your umbraco administration section and you receive the following:
&#160;
[NullReferenceException: Object reference not set to an instance of an object.]
   umbraco.controls.ContentControl.addControlNew(Property p, TabPage tp, String Caption) +106
   umbraco.controls.ContentControl..ctor(Content c, publishModes CanPublish, String Id) +1057
   umbraco.cms.presentation.editContent.OnInit(EventArgs e) +406
   System.Web.UI.Control.InitRecursive(Control namingContainer) +142
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1476
 
&#160;
I can tell you [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cosier.wordpress.com&blog=1578696&post=470&subd=cosier&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>If when you click on a node within your umbraco administration section and you receive the following:
<p>&nbsp;</p>
<p><strong>[NullReferenceException: Object reference not set to an instance of an object.]<br />
   umbraco.controls.ContentControl.addControlNew(Property p, TabPage tp, String Caption) +106<br />
   umbraco.controls.ContentControl..ctor(Content c, publishModes CanPublish, String Id) +1057<br />
   umbraco.cms.presentation.editContent.OnInit(EventArgs e) +406<br />
   System.Web.UI.Control.InitRecursive(Control namingContainer) +142<br />
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1476<br />
</strong><strong> </strong>
<p>&nbsp;</p>
<p>I can tell you that you have added either a custom control, or a control of a certain type does not exist within your bin directory.  I kept receiving this when I created a new umbraco instance &#8211; I think I must have a mismatch of umbraco versions causing my DB to contain a type which does not exist within my assemblies.  Here&#8217;s what I did to debug this issue:
<p>&nbsp;</p>
<p>1. Downloaded the umbraco source code from codeplex<br />
2. Changed it to &#8216;Debug&#8217; config, rebuilt everything, copied the cms.dll and cms.pdb from the output directory into my umbraco bin folder<br />
3. Typed ctrl+alt+e in visual studio and made sure that the checkbox next to &#8216;thrown&#8217; for common language runtime exceptions was selected.<br />
3. Attached the visual studio instance that currently has the umbraco source code loaded, to w3wp.exe (the one running my umbraco website).<br />
4. Clicked into the admin section, and caused the error by clicking on one of the nodes that has the problem.<br />
5. Visual studio brakes into mscorelib inside an indexer, I used my call stack window to jump up a few frames, which brought me eventually into  DataType.cs
<p>&nbsp;</p>
<p>6. Line 79 in my version of the code shows:</p>
<p>interfaces.IDataType dt = f.DataType(_controlId);</p>
<p>Essentially what this is doing, is loading an IDataType from the given control ID.  If you hover over the &#8216;Id&#8217; property, this will be your key in determining which control is currently wrong.  Save the contents of both the &#8216;Id&#8217; property and &#8216;_controlId&#8217; into notepad.</p>
<p>7. I jumped into my umbraco database, and select * from cmsDataType</p>
<p>You&#8217;ll notice the control ID in there, you&#8217;ll also notice the controlID you saved is within this table, as is the ID &#8211; this means that you&#8217;ve basically told umbraco that there is a control of that type available somewhere within your *.dll&#8217;s within your bin directory in umbraco (If you look inside the f.DataType() call, youll notice that it does a type resolution by searching for all types of IDataType within the *.dll wildcard search within the umbraco bin folder).</p>
<p>The problem is that it can&#8217;t find that control type within the bin folder.  I haven&#8217;t looked into what exactly that means, but I can only assume you can create custom controls in umbraco by marking them with an attribute guid that matches that control ID, then it will dynamically load that control and use it for that particular data type.  In my case, I have no idea what data type is failing, (and you probably wont either).</p>
<p>To fix the problem temporarily, what I did was simply copy another ControlId Guid from within cmsDataType table (any should do for now, preferably a plain text control ID or something, if you can work out which one that is&#8230; I guessed&#8230;), and update the rows which match &#8217;select * from cmsDataType where ControlId = &#8216;TheControlIdYouSaved&#8217; to be the new guid you just copied from the table.</p>
<p>So you&#8217;re essentially just using a different control ID now instead of the one that isnt working&#8230;.  perform an IISReset, and you should notice your nodes are now clickable&#8230;. click through the tabs and work out which one was causing the issue, and you might be able to figure out what control was missing (if you&#8217;re lucky) and either a) install it into your bin directory or b) update your umbraco version so that the control that was missing is available&#8230;</p>
<p>Cheers guys,</p>
<p>Matt</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cosier.wordpress.com/470/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cosier.wordpress.com/470/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/cosier.wordpress.com/470/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/cosier.wordpress.com/470/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/cosier.wordpress.com/470/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/cosier.wordpress.com/470/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/cosier.wordpress.com/470/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/cosier.wordpress.com/470/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/cosier.wordpress.com/470/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/cosier.wordpress.com/470/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cosier.wordpress.com&blog=1578696&post=470&subd=cosier&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://cosier.wordpress.com/2009/11/24/umbraco-object-reference-not-set-to-an-instance-of-an-object-in-administration-section/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/15385d4f0ef59fc4688edfd1aa25baf4?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">cosier</media:title>
		</media:content>
	</item>
		<item>
		<title>DevExpress ASPxDropDownEdit loses text on postback</title>
		<link>http://cosier.wordpress.com/2009/10/29/devexpress-aspxdropdownedit-loses-text-on-postback/</link>
		<comments>http://cosier.wordpress.com/2009/10/29/devexpress-aspxdropdownedit-loses-text-on-postback/#comments</comments>
		<pubDate>Thu, 29 Oct 2009 22:48:23 +0000</pubDate>
		<dc:creator>cosier</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://cosier.wordpress.com/?p=466</guid>
		<description><![CDATA[So I&#8217;ve been trying to implement a devexpress multi-select drop down list box, and all is well except whenever you post back to the server &#8211; when the server returns the response to the browser, for some reason the text within the combo box gets cleared.  I&#8217;m not sure if it&#8217;s something I am doing [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cosier.wordpress.com&blog=1578696&post=466&subd=cosier&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>So I&#8217;ve been trying to implement a devexpress multi-select drop down list box, and all is well except whenever you post back to the server &#8211; when the server returns the response to the browser, for some reason the text within the combo box gets cleared.  I&#8217;m not sure if it&#8217;s something I am doing incorrectly with the JS, or the set up of the devexpress control but either way &#8211; I decided to work around it, here&#8217;s the end result (a fully functional multi-select drop down which persists the text value cross postback).</p>
<p>The key is creating a hidden field, and storing the text value (when updated on the client side) into it, then on pageload, reset the value back into the text field so that when the postback returns, we refresh it with the value we posted to the server.  I&#8217;m still unsure as to why it&#8217;s losing its state, but this fixes it anyway.  Oh &#8211; and I&#8217;ve added in a &#8216;clear all&#8217; function as well which wasn&#8217;t part of the original devexpress examples.  Enjoy!</p>
<p><strong>NOTE:  When you enable auto postback on the checkboxes, you&#8217;ll run into some timing issues in the JS, I couldn&#8217;t solve this, so for now, no autopostback on the checkboxes, sorry!</strong></p>
<p>      &lt;asp:HiddenField runat=&#8221;server&#8221; ID=&#8221;multiChildText&#8221; /&gt;<br />
       <br />
     &lt;script type=&#8221;text/javascript&#8221;&gt;<br />
         var textSeparator = &#8220;;&#8221;;<br />
         function OnListBoxSelectionChanged(listBox, args) {        <br />
             UpdateText();<br />
         }<br />
         function ClearAll() {<br />
             checkListBox.UnselectAll();<br />
             UpdateText();<br />
         }<br />
         function UpdateText() {<br />
             var selectedItems = checkListBox.GetSelectedItems();<br />
             var txt = GetSelectedItemsText(selectedItems);<br />
             checkComboBox.SetText(txt);</p>
<p>             // Now, also set the hidden field!<br />
             document.getElementById(&#8220;&lt;%= multiChildText.ClientID %&gt;&#8221;).value = checkComboBox.GetText();<br />
         }<br />
         function SynchronizeListBoxValues(dropDown, args) {<br />
             UpdateText();  // for remove non-existing texts<br />
         }<br />
         function GetSelectedItemsText(items) {<br />
             var texts = [];<br />
             for (var i = 0; i &lt; items.length; i++)<br />
                 texts.push(items[i].text);<br />
             return texts.join(textSeparator);<br />
         }<br />
         function GetValuesByTexts(texts) {<br />
             var actualValues = [];<br />
             var value = &#8220;&#8221;;<br />
             for (var i = 0; i &lt; texts.length; i++) {<br />
                 value = GetValueByText(texts[i]);<br />
                 if (value != null)<br />
                     actualValues.push(value);<br />
             }<br />
             return actualValues;<br />
         }<br />
         function GetValueByText(text) {<br />
             var text = Trim(text).toUpperCase();<br />
             for (var i = 0; i &lt; checkListBox.GetItemCount(); i++)<br />
                 if (checkListBox.GetItem(i).text.toUpperCase() == text)<br />
                 return checkListBox.GetItem(i).value;<br />
             return null;<br />
         }<br />
         function Trim(str) {<br />
             return str.replace(/\s*((\S+\s*)*)/, &#8220;$1&#8243;).replace(/((\s*\S+)*)\s*/, &#8220;$1&#8243;);<br />
         }</p>
<p>         function pageLoad() {<br />
             //setTimeout(&#8216;UpdateText();&#8217;, 1200); hmmm <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
             checkComboBox.SetText(document.getElementById(&#8220;&lt;%= multiChildText.ClientID %&gt;&#8221;).value);<br />
         }<br />
    &lt;/script&gt;</p>
<p>    &lt;dxe:ASPxDropDownEdit ClientInstanceName=&#8221;checkComboBox&#8221; ID=&#8221;MultiChildren&#8221; SkinID=&#8221;CheckComboBox&#8221; runat=&#8221;server&#8221; CssClass=&#8221;child-multi-selection&#8221; EnableAnimation=&#8221;false&#8221;&gt;<br />
        &lt;DropDownWindowTemplate&gt;<br />
            &lt;dxe:ASPxListBox ID=&#8221;MultiChildrenList&#8221; ClientInstanceName=&#8221;checkListBox&#8221; SelectionMode=&#8221;CheckColumn&#8221;<br />
                runat=&#8221;server&#8221; SkinID=&#8221;CheckComboBoxListBox&#8221; CssClass=&#8221;child-multi-select-list&#8221; AutoPostBack=&#8221;false&#8221;&gt;</p>
<p>                &lt;ClientSideEvents SelectedIndexChanged=&#8221;OnListBoxSelectionChanged&#8221; /&gt;<br />
            &lt;/dxe:ASPxListBox&gt;<br />
            &lt;table&gt;<br />
                &lt;tr&gt;<br />
                &lt;td &gt;<br />
                     &lt;dxe:ASPxButton ID=&#8221;ClearAllButton&#8221; AutoPostBack=&#8221;False&#8221; runat=&#8221;server&#8221; Text=&#8221;Clear All&#8221;&gt;<br />
                            &lt;ClientSideEvents Click=&#8221;function(s, e){ ClearAll(); }&#8221; /&gt;<br />
                        &lt;/dxe:ASPxButton&gt;<br />
                    &lt;/td&gt;<br />
                    &lt;td align=&#8221;right&#8221;&gt;<br />
                        &lt;dxe:ASPxButton ID=&#8221;ASPxButton1&#8243; AutoPostBack=&#8221;False&#8221; runat=&#8221;server&#8221; Text=&#8221;Close&#8221;&gt;<br />
                            &lt;ClientSideEvents Click=&#8221;function(s, e){ checkComboBox.HideDropDown(); }&#8221; /&gt;<br />
                        &lt;/dxe:ASPxButton&gt;<br />
                    &lt;/td&gt;<br />
                &lt;/tr&gt;<br />
            &lt;/table&gt;<br />
        &lt;/DropDownWindowTemplate&gt;<br />
        &lt;ClientSideEvents TextChanged=&#8221;SynchronizeListBoxValues&#8221; DropDown=&#8221;SynchronizeListBoxValues&#8221; /&gt;<br />
    &lt;/dxe:ASPxDropDownEdit&gt;</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cosier.wordpress.com/466/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cosier.wordpress.com/466/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/cosier.wordpress.com/466/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/cosier.wordpress.com/466/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/cosier.wordpress.com/466/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/cosier.wordpress.com/466/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/cosier.wordpress.com/466/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/cosier.wordpress.com/466/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/cosier.wordpress.com/466/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/cosier.wordpress.com/466/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cosier.wordpress.com&blog=1578696&post=466&subd=cosier&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://cosier.wordpress.com/2009/10/29/devexpress-aspxdropdownedit-loses-text-on-postback/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/15385d4f0ef59fc4688edfd1aa25baf4?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">cosier</media:title>
		</media:content>
	</item>
		<item>
		<title>Get every second element in an IEnumerable in C#</title>
		<link>http://cosier.wordpress.com/2009/10/21/get-every-second-element-in-an-ienumerable/</link>
		<comments>http://cosier.wordpress.com/2009/10/21/get-every-second-element-in-an-ienumerable/#comments</comments>
		<pubDate>Wed, 21 Oct 2009 05:29:03 +0000</pubDate>
		<dc:creator>cosier</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://cosier.wordpress.com/2009/10/21/get-every-second-element-in-an-ienumerable/</guid>
		<description><![CDATA[var everySecondElement = myList.Where((p,d) =&#62; { return ((d % 2) &#60; 1); });
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cosier.wordpress.com&blog=1578696&post=464&subd=cosier&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>var everySecondElement = myList.Where((p,d) =&gt; { return ((d % 2) &lt; 1); });</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cosier.wordpress.com/464/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cosier.wordpress.com/464/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/cosier.wordpress.com/464/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/cosier.wordpress.com/464/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/cosier.wordpress.com/464/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/cosier.wordpress.com/464/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/cosier.wordpress.com/464/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/cosier.wordpress.com/464/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/cosier.wordpress.com/464/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/cosier.wordpress.com/464/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cosier.wordpress.com&blog=1578696&post=464&subd=cosier&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://cosier.wordpress.com/2009/10/21/get-every-second-element-in-an-ienumerable/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/15385d4f0ef59fc4688edfd1aa25baf4?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">cosier</media:title>
		</media:content>
	</item>
		<item>
		<title>Developed turned manager? Manager in general? READ THIS</title>
		<link>http://cosier.wordpress.com/2009/09/05/developed-turned-manager-manager-in-general-read-this/</link>
		<comments>http://cosier.wordpress.com/2009/09/05/developed-turned-manager-manager-in-general-read-this/#comments</comments>
		<pubDate>Sat, 05 Sep 2009 01:32:09 +0000</pubDate>
		<dc:creator>cosier</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://cosier.wordpress.com/?p=456</guid>
		<description><![CDATA[@mossyblog sent through a link to this article about management techniques, and I found it extremely insightful, and was able to relate to so many different areas and management styles I have seen over the years.  This will definitely make me a better manager when the time comes:
http://www.smashingmagazine.com/2009/09/03/professional-team-management-tips-for-creative-folks/
Read the whole thing  
   [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cosier.wordpress.com&blog=1578696&post=456&subd=cosier&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>@mossyblog sent through a link to this article about management techniques, and I found it extremely insightful, and was able to relate to so many different areas and management styles I have seen over the years.  This will definitely make me a better manager when the time comes:</p>
<p><a href="http://www.smashingmagazine.com/2009/09/03/professional-team-management-tips-for-creative-folks/">http://www.smashingmagazine.com/2009/09/03/professional-team-management-tips-for-creative-folks/</a></p>
<p>Read the whole thing <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cosier.wordpress.com/456/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cosier.wordpress.com/456/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/cosier.wordpress.com/456/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/cosier.wordpress.com/456/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/cosier.wordpress.com/456/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/cosier.wordpress.com/456/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/cosier.wordpress.com/456/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/cosier.wordpress.com/456/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/cosier.wordpress.com/456/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/cosier.wordpress.com/456/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cosier.wordpress.com&blog=1578696&post=456&subd=cosier&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://cosier.wordpress.com/2009/09/05/developed-turned-manager-manager-in-general-read-this/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/15385d4f0ef59fc4688edfd1aa25baf4?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">cosier</media:title>
		</media:content>
	</item>
		<item>
		<title>Using the Umbraco runway DropDownNavigation macro in your own masterpage.</title>
		<link>http://cosier.wordpress.com/2009/08/31/using-the-runway-dropdownnavigation-macro-in-your-own-masterpage/</link>
		<comments>http://cosier.wordpress.com/2009/08/31/using-the-runway-dropdownnavigation-macro-in-your-own-masterpage/#comments</comments>
		<pubDate>Mon, 31 Aug 2009 14:27:33 +0000</pubDate>
		<dc:creator>cosier</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://cosier.wordpress.com/?p=453</guid>
		<description><![CDATA[So you&#8217;ve tried taking the DropDownNavigation macro, inserted it into your own masterpage but it doesn&#8217;t work.  The Menu shows up expanded with no styling or javascript being applied.
The only fix I could come up with for this is to first ensure your &#60;head&#62; tag has a runat=&#8221;server&#8221; attribute, secondly, include the following script at [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cosier.wordpress.com&blog=1578696&post=453&subd=cosier&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>So you&#8217;ve tried taking the DropDownNavigation macro, inserted it into your own masterpage but it doesn&#8217;t work.  The Menu shows up expanded with no styling or javascript being applied.</p>
<p>The only fix I could come up with for this is to first ensure your &lt;head&gt; tag has a runat=&#8221;server&#8221; attribute, secondly, include the following script at the bottom of your masterpage/template:</p>
<p> &lt;script type=&#8221;text/javascript&#8221;&gt;<br />
        $(function() {<br />
            $(&#8216;#dropdownNavigation&#8217;).droppy({ speed: 10 });<br />
        });<br />
&lt;/script&gt;</p>
<p>droppy.js will now load, the CSS will be applied (dropdownnavigation.css) and all will be well.</p>
<p>Remember to insert the menu via:</p>
<p> &lt;umbraco:Macro Alias=&#8221;RunwayDropdownNavigation&#8221; runat=&#8221;server&#8221; /&gt;</p>
<p>Also, make sure that you have a &lt;title&gt; element defined in your &lt;head&gt; element.</p>
<p>Someone else with this issue here: <a href="http://our.umbraco.org/forum/getting-started/questions-about-runway-and-modules/3425-Using-Runway-DropDownNavigation-with-other-pages">http://our.umbraco.org/forum/getting-started/questions-about-runway-and-modules/3425-Using-Runway-DropDownNavigation-with-other-pages</a></p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cosier.wordpress.com/453/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cosier.wordpress.com/453/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/cosier.wordpress.com/453/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/cosier.wordpress.com/453/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/cosier.wordpress.com/453/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/cosier.wordpress.com/453/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/cosier.wordpress.com/453/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/cosier.wordpress.com/453/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/cosier.wordpress.com/453/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/cosier.wordpress.com/453/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cosier.wordpress.com&blog=1578696&post=453&subd=cosier&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://cosier.wordpress.com/2009/08/31/using-the-runway-dropdownnavigation-macro-in-your-own-masterpage/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/15385d4f0ef59fc4688edfd1aa25baf4?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">cosier</media:title>
		</media:content>
	</item>
		<item>
		<title>SharePoint 2010 Client Object Model</title>
		<link>http://cosier.wordpress.com/2009/08/19/sharepoint-2010-client-object-model/</link>
		<comments>http://cosier.wordpress.com/2009/08/19/sharepoint-2010-client-object-model/#comments</comments>
		<pubDate>Wed, 19 Aug 2009 11:51:00 +0000</pubDate>
		<dc:creator>cosier</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://cosier.wordpress.com/?p=451</guid>
		<description><![CDATA[This came through on twitter via @jthake before:
http://www.chakkaradeep.com/post/2009/08/19/SharePoint-2010-Introducing-the-Client-Object-Model.aspx
I&#8217;m really excited about this one &#8211; finally we can start using a standardised object model and not have to worry about how weather we are going to use web services, or the local object model.  The most powerful/exciting part to all of this (in my opinion) is the ability to [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cosier.wordpress.com&blog=1578696&post=451&subd=cosier&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>This came through on twitter via @jthake before:<br />
<a href="http://www.chakkaradeep.com/post/2009/08/19/SharePoint-2010-Introducing-the-Client-Object-Model.aspx">http://www.chakkaradeep.com/post/2009/08/19/SharePoint-2010-Introducing-the-Client-Object-Model.aspx</a></p>
<p>I&#8217;m really excited about this one &#8211; finally we can start using a standardised object model and not have to worry about how weather we are going to use web services, or the local object model.  The most powerful/exciting part to all of this (in my opinion) is the ability to talk with the object model directly via your Silverlight applications &#8211; this makes it so much easier/compelling to build rich, user focused, high-reach applications on top of the SharePoint platform.</p>
<p>I can see a lot of potential with this &#8211; it would be quite easy to build a silverlight front-end for SharePoint by interacting directly with the client object model &#8211; if you were to do this using web services it would take forever!  Your other alternative I guess would have been to write some RIA services wrapping the OM and call them out of silverlight &#8211; but I guess now we don&#8217;t have to <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Nice!</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cosier.wordpress.com/451/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cosier.wordpress.com/451/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/cosier.wordpress.com/451/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/cosier.wordpress.com/451/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/cosier.wordpress.com/451/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/cosier.wordpress.com/451/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/cosier.wordpress.com/451/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/cosier.wordpress.com/451/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/cosier.wordpress.com/451/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/cosier.wordpress.com/451/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cosier.wordpress.com&blog=1578696&post=451&subd=cosier&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://cosier.wordpress.com/2009/08/19/sharepoint-2010-client-object-model/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/15385d4f0ef59fc4688edfd1aa25baf4?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">cosier</media:title>
		</media:content>
	</item>
		<item>
		<title>Support SharePoint 2010 with this new Twibbon!</title>
		<link>http://cosier.wordpress.com/2009/08/19/support-sharepoint-2010-with-this-new-twibbon/</link>
		<comments>http://cosier.wordpress.com/2009/08/19/support-sharepoint-2010-with-this-new-twibbon/#comments</comments>
		<pubDate>Wed, 19 Aug 2009 09:30:55 +0000</pubDate>
		<dc:creator>cosier</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://cosier.wordpress.com/?p=449</guid>
		<description><![CDATA[Well, I was over at Twibbon.com and thought I&#8217;d see if anyone had made a SharePoint 2010 icon, and sure enough William Cornwill had uploaded one (Nice one Will!). 
I wasn&#8217;t a big fan of the one Will uploaded, so I decided to try create one that didn&#8217;t look like a minature dress, or a duck that [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cosier.wordpress.com&blog=1578696&post=449&subd=cosier&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Well, I was over at Twibbon.com and thought I&#8217;d see if anyone had made a SharePoint 2010 icon, and sure enough William Cornwill had uploaded one (Nice one Will!). </p>
<p>I wasn&#8217;t a big fan of the one Will uploaded, so I decided to try create one that didn&#8217;t look like a minature dress, or a duck that had just been ran over by a semi-trailor.</p>
<p><a href="http://twibbon.com/join/SharePoint-2010-2">http://twibbon.com/join/SharePoint-2010-2</a></p>
<p>Creating a twibbon was ALOT harder than I first expected &#8211; due to the small size of the icon, it&#8217;s really hard to get clarity in the image.  I decided to white-strip the logo and place the text and MS2010 logo on the right, unfortuantely it covers a fair bit of your twitter icon &#8211; does anyone else have any better suggestions?  I wan&#8217;t to make it look nicer <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
<p>Happy sharepointing!</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cosier.wordpress.com/449/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cosier.wordpress.com/449/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/cosier.wordpress.com/449/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/cosier.wordpress.com/449/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/cosier.wordpress.com/449/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/cosier.wordpress.com/449/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/cosier.wordpress.com/449/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/cosier.wordpress.com/449/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/cosier.wordpress.com/449/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/cosier.wordpress.com/449/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cosier.wordpress.com&blog=1578696&post=449&subd=cosier&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://cosier.wordpress.com/2009/08/19/support-sharepoint-2010-with-this-new-twibbon/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/15385d4f0ef59fc4688edfd1aa25baf4?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">cosier</media:title>
		</media:content>
	</item>
		<item>
		<title>Report Parameter Missing a Value</title>
		<link>http://cosier.wordpress.com/2009/06/25/report-parameter-missing-a-value/</link>
		<comments>http://cosier.wordpress.com/2009/06/25/report-parameter-missing-a-value/#comments</comments>
		<pubDate>Thu, 25 Jun 2009 01:27:58 +0000</pubDate>
		<dc:creator>cosier</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://cosier.wordpress.com/?p=447</guid>
		<description><![CDATA[If you are getting this error when using the SQL Server 2005 Web Forms Report Viewer (ASP.NET) it&#8217;s probably because you are using an old version of the report viewer.
Please install the 2005 SP1 version of the Report Viewer Distributable.
http://www.microsoft.com/downloads/details.aspx?familyid=E7D661BA-DC95-4EB3-8916-3E31340DDC2C&#38;displaylang=en
Either that, of your call to rv.ServerReport.SetParameters() doesn&#8217;t have a valid report parameter.
    [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cosier.wordpress.com&blog=1578696&post=447&subd=cosier&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>If you are getting this error when using the SQL Server 2005 Web Forms Report Viewer (ASP.NET) it&#8217;s probably because you are using an old version of the report viewer.</p>
<p><strong>Please install the 2005 SP1 version of the Report Viewer Distributable.</strong></p>
<p><a href="http://www.microsoft.com/downloads/details.aspx?familyid=E7D661BA-DC95-4EB3-8916-3E31340DDC2C&amp;displaylang=en">http://www.microsoft.com/downloads/details.aspx?familyid=E7D661BA-DC95-4EB3-8916-3E31340DDC2C&amp;displaylang=en</a></p>
<p>Either that, of your call to rv.ServerReport.SetParameters() doesn&#8217;t have a valid report parameter.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cosier.wordpress.com/447/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cosier.wordpress.com/447/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/cosier.wordpress.com/447/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/cosier.wordpress.com/447/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/cosier.wordpress.com/447/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/cosier.wordpress.com/447/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/cosier.wordpress.com/447/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/cosier.wordpress.com/447/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/cosier.wordpress.com/447/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/cosier.wordpress.com/447/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cosier.wordpress.com&blog=1578696&post=447&subd=cosier&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://cosier.wordpress.com/2009/06/25/report-parameter-missing-a-value/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/15385d4f0ef59fc4688edfd1aa25baf4?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">cosier</media:title>
		</media:content>
	</item>
		<item>
		<title>Some good JQuery examples</title>
		<link>http://cosier.wordpress.com/2009/06/17/some-good-jquery-examples/</link>
		<comments>http://cosier.wordpress.com/2009/06/17/some-good-jquery-examples/#comments</comments>
		<pubDate>Wed, 17 Jun 2009 23:47:30 +0000</pubDate>
		<dc:creator>cosier</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[JQuery]]></category>

		<guid isPermaLink="false">http://cosier.wordpress.com/2009/06/17/some-good-jquery-examples/</guid>
		<description><![CDATA[http://www.slideshare.net/dbert721/introduction-to-jquery-presentation
       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cosier.wordpress.com&blog=1578696&post=446&subd=cosier&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>http://www.slideshare.net/dbert721/introduction-to-jquery-presentation</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cosier.wordpress.com/446/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cosier.wordpress.com/446/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/cosier.wordpress.com/446/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/cosier.wordpress.com/446/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/cosier.wordpress.com/446/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/cosier.wordpress.com/446/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/cosier.wordpress.com/446/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/cosier.wordpress.com/446/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/cosier.wordpress.com/446/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/cosier.wordpress.com/446/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cosier.wordpress.com&blog=1578696&post=446&subd=cosier&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://cosier.wordpress.com/2009/06/17/some-good-jquery-examples/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/15385d4f0ef59fc4688edfd1aa25baf4?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">cosier</media:title>
		</media:content>
	</item>
		<item>
		<title>Forms Services &#8211; Schema validation failed for some data items in the form</title>
		<link>http://cosier.wordpress.com/2009/05/08/forms-services-schema-validation-failed-for-some-data-items-in-the-form/</link>
		<comments>http://cosier.wordpress.com/2009/05/08/forms-services-schema-validation-failed-for-some-data-items-in-the-form/#comments</comments>
		<pubDate>Fri, 08 May 2009 07:38:25 +0000</pubDate>
		<dc:creator>cosier</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://cosier.wordpress.com/?p=442</guid>
		<description><![CDATA[If you&#8217;re performing data migration, and moving XML nodes around (or generating the form from template.xml or something similar), it will leave xsi:nil=&#8221;true&#8221; attributes on the nodes.
Then, if you copy these nodes and intend on filling them with information, you need to either remove the xsi:nil attributes, or set them to false.  How do you [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cosier.wordpress.com&blog=1578696&post=442&subd=cosier&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>If you&#8217;re performing data migration, and moving XML nodes around (or generating the form from template.xml or something similar), it will leave xsi:nil=&#8221;true&#8221; attributes on the nodes.</p>
<p>Then, if you copy these nodes and intend on filling them with information, you need to either remove the xsi:nil attributes, or set them to false.  How do you do it?  It&#8217;s quite simple:</p>
<p>XPathNavigator nilField = DOM.SelectSingleNode(&#8220;<strong>/my:myFields/my:myNilField</strong>&#8220;);<br />
if (nilField.MoveToAttribute(&#8220;nil&#8221;,  &#8220;http://www.w3.org/2001/XMLSchema-instance&#8221;))<br />
    nilField.DeleteSelf();</p>
<p>This essentially selects the field in question, positions the XPathNavigator to point at the nil attribute, and if it exists (or the pointer move succeeds) it will remove the attribute at its current position (aka, itll delete the nil attribute).</p>
<p>This tends to happen with DateTime fields in your schema (more often than not).</p>
<p>Matt</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cosier.wordpress.com/442/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cosier.wordpress.com/442/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/cosier.wordpress.com/442/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/cosier.wordpress.com/442/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/cosier.wordpress.com/442/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/cosier.wordpress.com/442/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/cosier.wordpress.com/442/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/cosier.wordpress.com/442/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/cosier.wordpress.com/442/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/cosier.wordpress.com/442/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cosier.wordpress.com&blog=1578696&post=442&subd=cosier&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://cosier.wordpress.com/2009/05/08/forms-services-schema-validation-failed-for-some-data-items-in-the-form/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/15385d4f0ef59fc4688edfd1aa25baf4?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">cosier</media:title>
		</media:content>
	</item>
	</channel>
</rss>