<?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>blog.richardramdat.com &#187; Technology</title>
	<atom:link href="http://blog.richardramdat.com/category/technology/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.richardramdat.com</link>
	<description></description>
	<lastBuildDate>Tue, 17 Jan 2012 01:49:08 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>SharePoint List Querying &#8211; Linq vs. CAML</title>
		<link>http://blog.richardramdat.com/2009/09/sharepoint-list-querying-linq-vs-caml/</link>
		<comments>http://blog.richardramdat.com/2009/09/sharepoint-list-querying-linq-vs-caml/#comments</comments>
		<pubDate>Wed, 16 Sep 2009 04:01:18 +0000</pubDate>
		<dc:creator>richard</dc:creator>
				<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://blog.richardramdat.com/?p=154</guid>
		<description><![CDATA[One of the nice features of SharePoint 2007 development is the ability to use the latest release of the .NET framework and  its concomitant language features &#8211; including Linq. This in and of itself it a huge benefit as the inherit query mechanism within SharePoint &#8211; CAML is woefully terrible.
What is CAML? Officially, it stands for Collaborative [...]]]></description>
			<content:encoded><![CDATA[<p>One of the nice features of SharePoint 2007 development is the ability to use the latest release of the .NET framework and  its concomitant language features &#8211; including Linq. This in and of itself it a huge benefit as the inherit query mechanism within SharePoint &#8211; CAML is woefully terrible.</p>
<p>What is CAML? Officially, it stands for Collaborative Application Markup Language. Essentially, CAML is an xml structured intermediate query syntax for SharePoint to query against data structures (that can also be defined using CAML). Sounds a bit like SQL no? Well guess what CAML gets translated to in the back-end? Yep &#8211; SQL. SharePoint takes your CAML and queries against its sql backend. So in short, with CAML you have this massively verbose query syntax that requires nested xml tags, multi-line statements, and quoted attributes.</p>
<p>Enter Linq, with its terse sql-esque statements and amazing chainability. No more CAML!</p>
<p>Not quite.</p>
<p>Linq can only be used against a SPListItemCollection object which must be filled before use. The two most common ways to populate a SPListItemCollection is to either Get all items, or use a SPQuery object and CAML syntax to get a subset of items. As you can see, the dilemia presents itself that if you try to avoid CAML altogether, you will sacrifice performance when querying a list with potentially a large set of items.</p>
<p>So the best solution? Use both. Before using Linq directly to query items, first populate your SPListItemCollection with a CAML query that will do an adequate job of ensuring a manageable subset returned from the database. Then with Linq, fine-tune your SPListItemCollection to further sort and filter your result set. So Caml &#8211; Chainsaw, Linq &#8211; Carving Knife.</p>
<p>For more information, check out the excellent resource below:</p>
<p><a href="http://www.vanolstweb.nl/blog/documents/linq%20and%20sharepoint%20development.pdf">LINQ and SharePoint Development: The benefits and the pitfalls</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.richardramdat.com/2009/09/sharepoint-list-querying-linq-vs-caml/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Outlook: Russian Spam</title>
		<link>http://blog.richardramdat.com/2009/09/outlook-russian-spam/</link>
		<comments>http://blog.richardramdat.com/2009/09/outlook-russian-spam/#comments</comments>
		<pubDate>Tue, 15 Sep 2009 16:19:08 +0000</pubDate>
		<dc:creator>richard</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[Outlook]]></category>

		<guid isPermaLink="false">http://blog.richardramdat.com/?p=151</guid>
		<description><![CDATA[I&#8217;ve recently been flooded with a  flurry of Russian spam at work. Emails that are in all Russian that I have no idea what they mean. They usually get sent out past midnight so they&#8217;re queued up in my inbox by morning (smart, except for the fact that I can&#8217;t read Russian! &#8211; oh spammers&#8230;)
So how [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve recently been flooded with a  flurry of Russian spam at work. Emails that are in all Russian that I have no idea what they mean. They usually get sent out past midnight so they&#8217;re queued up in my inbox by morning (smart, except for the fact that I can&#8217;t read Russian! &#8211; oh spammers&#8230;)</p>
<p>So how to get rid of them? If you&#8217;re using Outlook 2007, take the following steps:</p>
<p>Tools -&gt;Options -&gt; Junk Email…</p>
<p>Click on the last tab, “International”</p>
<p>And now click on “Block Encodings List…”</p>
<p>The following dialog appears…</p>
<p><img class="alignnone size-full wp-image-152" title="Encoding List" src="http://blog.richardramdat.com/wp-content/uploads/2009/09/Untitled.jpg" alt="Encoding List" width="352" height="238" /></p>
<p>Select Cyrillic for Russian characters, along with any other character sets you are unfamiliar with.</p>
<p>Click OK, then Apply.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.richardramdat.com/2009/09/outlook-russian-spam/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Empty Div With Width Displays Height in IE</title>
		<link>http://blog.richardramdat.com/2009/08/empty-div-with-width-displays-height-in-ie/</link>
		<comments>http://blog.richardramdat.com/2009/08/empty-div-with-width-displays-height-in-ie/#comments</comments>
		<pubDate>Thu, 06 Aug 2009 19:01:48 +0000</pubDate>
		<dc:creator>richard</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.richardramdat.com/2009/08/empty-div-with-width-displays-height-in-ie/</guid>
		<description><![CDATA[I have a wrapper div that contains a user control that may or may not always display content. If it doesn’t have content, then the div should be empty and empty divs shouldn’t have any height right? Well, all the browsers agree with me – except Internet Explorer. Apparently since I’ve given this div a [...]]]></description>
			<content:encoded><![CDATA[<p>I have a wrapper div that contains a user control that may or may not always display content. If it doesn’t have content, then the div should be empty and empty divs shouldn’t have any height right? Well, all the browsers agree with me – except Internet Explorer. Apparently since I’ve given this div a width, even though its empty, IE still decides to render height equivalent to the set font-size.</p>
<p>So can’t I just add a height:0; rule to my css? Well that will work &#8211; until the control within my div decides to render content and now its hidden.</p>
<p>So the fix? Add an html comment within the div. Yep, sounds crazy &#8211; but if your empty div is empty, save for an html comment, it will now not render any height.</p>
<p>Here’s how the fix looks like:</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.richardramdat.com/2009/08/empty-div-with-width-displays-height-in-ie/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SharePoint Calendar View Width</title>
		<link>http://blog.richardramdat.com/2009/08/sharepoint-calendar-view-width/</link>
		<comments>http://blog.richardramdat.com/2009/08/sharepoint-calendar-view-width/#comments</comments>
		<pubDate>Wed, 05 Aug 2009 21:15:45 +0000</pubDate>
		<dc:creator>richard</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[SharePoint]]></category>

		<guid isPermaLink="false">http://blog.richardramdat.com/?p=128</guid>
		<description><![CDATA[SharePoint calendar widths breaking your custom design? Yea, they&#8217;re pretty wide. Here&#8217;s how you can tame them.
For the default Month and Day view, you can apply the following style:
.ms-calheader img { width: auto; }
This will reset the width for a spacer image that the fine folks at Microsoft have decided to give this enormous amount [...]]]></description>
			<content:encoded><![CDATA[<p>SharePoint calendar widths breaking your custom design? Yea, they&#8217;re pretty wide. Here&#8217;s how you can tame them.</p>
<p>For the default Month and Day view, you can apply the following style:</p>
<p>.ms-calheader img { width: auto; }</p>
<p>This will reset the width for a spacer image that the fine folks at Microsoft have decided to give this enormous amount of width to.</p>
<p>For the Week view, you need an additional style rule (hold your breath for this one):</p>
<p>.ms-cal-wtopday div img, .ms-cal-wtopdayL div img, .ms-cal-wtopdayLover div img, .ms-cal-wtopdayover div img, .ms-cal-wtopdayRTL div img, .ms-cal-wtopdayRTLL div img, .ms-cal-wtopdayRTLover div img, .ms-cal-wtopdayRTLLover div img, .ms-cal-wtopdayfocusover div img, .ms-cal-wtopdayfocusLover div img, .ms-cal-wtopdayfocusRTLover div img, .ms-cal-wtopdayfocusRTLLover div img, .ms-cal-wtopday-todayRTLover div img, .ms-cal-wtopday-todayRTLLover div img, .ms-cal-wtopday-todayRTL div img, .ms-cal-wtopday-todayRTLL div img, .ms-cal-wtopdayfocusRTL div img, .ms-cal-wtopdayfocusRTLL div img, .ms-cal-wtopdayfocusL div img, .ms-cal-wtopdayfocus div img<br />
{<br />
width: 80px;<br />
}</p>
<p>Holy smokes! Good thing were not optimizing stylesheets for web performance right? This is a cumulative width that is specified for each day column. The value for the width you specify here will by multiplied by 7 to make up the overall width for the view.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.richardramdat.com/2009/08/sharepoint-calendar-view-width/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

