<?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>Beckh@m&#039;s Blog</title>
	<atom:link href="http://beckh0m.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://beckh0m.wordpress.com</link>
	<description></description>
	<lastBuildDate>Sun, 07 Feb 2010 13:01:04 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='beckh0m.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Beckh@m&#039;s Blog</title>
		<link>http://beckh0m.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://beckh0m.wordpress.com/osd.xml" title="Beckh@m&#039;s Blog" />
	<atom:link rel='hub' href='http://beckh0m.wordpress.com/?pushpress=hub'/>
		<item>
		<title>JavaScript &#8211; Flash Communication</title>
		<link>http://beckh0m.wordpress.com/2009/08/29/javascript-flash-communication/</link>
		<comments>http://beckh0m.wordpress.com/2009/08/29/javascript-flash-communication/#comments</comments>
		<pubDate>Sat, 29 Aug 2009 04:28:34 +0000</pubDate>
		<dc:creator>beckh0m</dc:creator>
				<category><![CDATA[Flash]]></category>
		<category><![CDATA[Java Script]]></category>
		<category><![CDATA[Flash Java Script]]></category>

		<guid isPermaLink="false">http://beckh0m.wordpress.com/?p=36</guid>
		<description><![CDATA[I used to work with flash all the times, in fact we used it in almost every project through college. You can do amazing things with flash very easily and honestly I love action script[:D]. Whenever you work with flash you will find yourself need to make flash communicate with other applications. In action script [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=beckh0m.wordpress.com&amp;blog=11025696&amp;post=36&amp;subd=beckh0m&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I used to work with flash all the times, in fact we used it in almost every project through college. You can do amazing things with flash very easily and honestly I love action script[:D].<br />
Whenever you work with flash you will find yourself need to make flash communicate with other applications.<br />
In action script you can communicate with a host application (in my case the Browser)<br />
through <a href="http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/external/ExternalInterface.html">External Interface</a>.</p>
<p><strong>To do that you to write a little JavaScript Code:</strong></p>
<p>First you need to get the name of the flash movie and as usual this name differs along with the browser you are using so here is a method that I found here to get you the name of the flash movie whatever the browser is:</p>
<pre class="csharpcode"><span style="color:#0000ff;"><span class="kwrd">function</span> </span>getFlashMovieObject(movieName) {
    <span style="color:#0000ff;"><span class="kwrd">if</span> </span>(window.document[movieName]) {
             <span style="color:#0000ff;"><span class="kwrd">return</span> </span>window.document[movieName];
        }
    <span style="color:#0000ff;"><span class="kwrd">if</span> </span>(navigator.appName.indexOf(<span style="color:#800080;"><span class="str">"Microsoft Internet"</span></span>) == -1) {
                <span class="kwrd">if</span> (document.embeds &amp;&amp; document.embeds[movieName])
                    <span style="color:#0000ff;"><span class="kwrd">return</span> </span>document.embeds[movieName];
            }
    <span style="color:#0000ff;"><span class="kwrd">else</span> </span><span style="color:#008000;">// <span class="kwrd">if</span> (navigator.appName.indexOf(<span class="str">"Microsoft Internet"</span>)!=-1)</span>
            {
                <span class="kwrd">return</span> document.getElementById(movieName);
            }
        }

<span style="color:#008000;">// Now Call the function on your flash movie.</span>

      <span style="color:#0000ff;"><span class="kwrd">function</span> </span>SendDataToFlashMovie(data) {
       <span style="color:#0000ff;">var </span>flashMovie = getFlashMovieObject(<span style="color:#800080;"><span class="str">"myFlashMovie"</span></span>);
       flashMovie.<span style="color:#0000ff;">JStoAS</span>(data);}

<strong>then you have to write alittel Action Script code:</strong>
Now you have to register a callback method to respond to your method call from javascript.
<pre class="csharpcode"><span style="color:#0000ff;"><span class="kwrd">import flash.external.ExternalInterface;</span><span class="kwrd">
ExternalInterface.addCallback</span></span>(<span style="color:#800080;"><span class="str">"JStoAS"</span></span>, getDataFromJavaScript);
<span style="color:#0000ff;"><span class="kwrd">function</span> </span>getDataFromJavaScript(data:<span style="color:#0000ff;"><span class="kwrd">String</span></span>):<span style="color:#0000ff;">void </span>{
<span style="color:#008000;">// Dod whatever you want <span class="kwrd">with</span> data here</span>
}

and that's how it's done [;)]

<span style="color:#000000;"><strong>Beckham</strong></span>
</pre>
</pre>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/beckh0m.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/beckh0m.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/beckh0m.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/beckh0m.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/beckh0m.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/beckh0m.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/beckh0m.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/beckh0m.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/beckh0m.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/beckh0m.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/beckh0m.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/beckh0m.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/beckh0m.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/beckh0m.wordpress.com/36/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=beckh0m.wordpress.com&amp;blog=11025696&amp;post=36&amp;subd=beckh0m&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://beckh0m.wordpress.com/2009/08/29/javascript-flash-communication/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f1cb642e3bf0857c937c48cab52bcd3d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">beckh0m</media:title>
		</media:content>
	</item>
		<item>
		<title>Print support for Facebox and lightbox v1.0</title>
		<link>http://beckh0m.wordpress.com/2009/06/09/print-support-for-facebox-and-lightbox-v1-0/</link>
		<comments>http://beckh0m.wordpress.com/2009/06/09/print-support-for-facebox-and-lightbox-v1-0/#comments</comments>
		<pubDate>Tue, 09 Jun 2009 18:07:28 +0000</pubDate>
		<dc:creator>beckh0m</dc:creator>
				<category><![CDATA[Java Script]]></category>
		<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[Facebox lightbox Print]]></category>

		<guid isPermaLink="false">http://beckh0m.wordpress.com/?p=33</guid>
		<description><![CDATA[Hey, Its been a long time i was pretty busy in some work along with preparing to come back to Egypt for a small vacation isA . Anyway, you all know  facebox and Lightbox. I wanted to allow the user to print the content of the facebox and lightbox and sadly this wasn&#8217;t available in [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=beckh0m.wordpress.com&amp;blog=11025696&amp;post=33&amp;subd=beckh0m&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Hey, Its been a long time <img src='http://s2.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  i was pretty busy in some work <img src='http://s0.wp.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' />  along with preparing to come back to Egypt for a small vacation isA .</p>
<p>Anyway, you all know  <a href="http://famspam.com/facebox">facebox </a>and <a href="http://www.huddletogether.com/projects/lightbox2/">Lightbox</a>. I wanted to allow the user to print the content of the <a href="http://famspam.com/facebox">facebox </a>and <a href="http://www.huddletogether.com/projects/lightbox2/">lightbox </a>and sadly this wasn&#8217;t available in <a href="http://famspam.com/facebox">facebox </a>and <a href="http://www.huddletogether.com/projects/lightbox/">lightbox </a><a href="http://www.huddletogether.com/projects/lightbox/">v1.0</a> but it&#8217;s available in <a href="http://www.huddletogether.com/projects/lightbox2/">lightbox</a><a href="http://www.huddletogether.com/projects/lightbox2/"> v2.0</a> but sadly i did some modification to my <a href="http://www.huddletogether.com/projects/lightbox/">lightbox </a><a href="http://www.huddletogether.com/projects/lightbox/">v1.0 </a>file and i really was to lazy to redo it in <a href="http://www.huddletogether.com/projects/lightbox2/">lightbox </a><a href="http://www.huddletogether.com/projects/lightbox2/">v2.0</a> <img src='http://s2.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> .<br />
anyway attached is the <a href="http://famspam.com/facebox">facebox </a>and <a href="http://www.huddletogether.com/projects/lightbox/">lightbox </a><a href="http://www.huddletogether.com/projects/lightbox/">v1.0</a> with print support.</p>
<p>the final output will be like that</p>
<p><img src="http://img25.imageshack.us/img25/7927/facebox.jpg" alt="facebox" /></p>
<p><img src="http://img26.imageshack.us/img26/4982/lightboxg.jpg" alt="lightbox" /></p>
<p>Beckham</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/beckh0m.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/beckh0m.wordpress.com/33/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/beckh0m.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/beckh0m.wordpress.com/33/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/beckh0m.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/beckh0m.wordpress.com/33/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/beckh0m.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/beckh0m.wordpress.com/33/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/beckh0m.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/beckh0m.wordpress.com/33/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/beckh0m.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/beckh0m.wordpress.com/33/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/beckh0m.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/beckh0m.wordpress.com/33/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=beckh0m.wordpress.com&amp;blog=11025696&amp;post=33&amp;subd=beckh0m&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://beckh0m.wordpress.com/2009/06/09/print-support-for-facebox-and-lightbox-v1-0/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f1cb642e3bf0857c937c48cab52bcd3d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">beckh0m</media:title>
		</media:content>

		<media:content url="http://img25.imageshack.us/img25/7927/facebox.jpg" medium="image">
			<media:title type="html">facebox</media:title>
		</media:content>

		<media:content url="http://img26.imageshack.us/img26/4982/lightboxg.jpg" medium="image">
			<media:title type="html">lightbox</media:title>
		</media:content>
	</item>
		<item>
		<title>Why go Facebook when you can Outlook</title>
		<link>http://beckh0m.wordpress.com/2008/12/16/why-go-facebook-when-you-can-outlook/</link>
		<comments>http://beckh0m.wordpress.com/2008/12/16/why-go-facebook-when-you-can-outlook/#comments</comments>
		<pubDate>Tue, 16 Dec 2008 11:32:46 +0000</pubDate>
		<dc:creator>beckh0m</dc:creator>
				<category><![CDATA[C#]]></category>
		<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[VSTO]]></category>
		<category><![CDATA[VSTO Facebook Outlook]]></category>

		<guid isPermaLink="false">http://beckh0m.wordpress.com/?p=30</guid>
		<description><![CDATA[Facebook to outlook First, Facebook as a very successful social networking website already contains a lot of information that we need and that will save us a lot of work not only to get this information but to use it as well. Second, as you already know, we all work in the morning sometimes we [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=beckh0m.wordpress.com&amp;blog=11025696&amp;post=30&amp;subd=beckh0m&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<div>
<p><strong><span style="text-decoration:underline;"><span style="font-size:16pt;line-height:115%;font-family:&amp;">Facebook to outlook </span></span></strong></p>
<p style="margin-left:35.45pt;">First, Facebook as a very successful social networking website already contains a lot of information that we need and that will save us a lot of work not only to get this information but to use it as well.</p>
<p style="margin-left:35.45pt;">Second, as you already know, we all work in the morning sometimes we don’t have time to turn around and certainly don’t have time to open up a browser window and typing the Facebook URL and start logging in, it seems a lot of time which sometimes we don’t have. But yet we would like to update our personal status on Facebook. So how can I do that without wasting all that time?!</p>
<p style="margin-left:51.3pt;">The solution is pretty easy, we all have outlook opened up since the very first second you boot up your computer at work as all work related mails comes through outlook, so why don’t we make it a bit funny and use it to update our status.<strong><em><span style="font-size:14pt;line-height:115%;font-family:&amp;"> </span></em></strong></p>
<p><strong><em><span style="font-size:14pt;line-height:115%;font-family:&amp;">The “Facebook to Outlook” plug-in consists of two main features</span></em></strong></p>
<ol>
<li> Friends to Contacts.</li>
<li> Update my status.</li>
<li>Send notification messages.</li>
</ol>
<p style="text-align:left;direction:ltr;unicode-bidi:embed;margin:0 0 10pt 51.3pt;"><span style="font-size:14pt;font-family:&amp;"> </span></p>
<p style="text-align:left;direction:ltr;unicode-bidi:embed;margin:0 0 10pt 51.3pt;"><em>So in this post I’m gonna walkthrough how to make the first plug-in as the rest is pretty much the same. Okay, let’s go</em></p>
<p style="margin-left:18pt;"><strong><span style="font-size:14pt;line-height:115%;font-family:&amp;">Friends to Contacts:</span></strong></p>
<p style="margin-left:51.3pt;">As a Facebook user I have a lot of friends on Facebook and those friends already published their information and I would like to have those friends in my outlook contact list. So instead of writing down the information of my Facebook friends I just thought it will be nice to have a button that I can click and it does all the work of getting my friends information and adding them to my outlook contact list.</p>
<p style="margin-left:51.3pt;">
<p style="margin-left:51.3pt;">The bad thing is the Facebook REST services don’t allow you to get the email address of friends but I guess it’s better to just modify an existing friend and add the email instead of adding the entire contact information.</p>
<h3>Getting friend’s information from Facebook.</h3>
<p>To get started developing applications with the Facebook API, you first need to register your application and get an API key from Facebook which will allow you to connect to their site and download data. Their <a href="http://developers.facebook.com/get_started.php">Get Started</a> page will lead you through the process.</p>
<p>Now that you have an API key, you can start developing. While you can connect to Facebook and get the information manually through HTTP REST calls,</p>
<p>Okay we first need to get the list of facebook friends:</p>
<p><img src="http://img519.imageshack.us/img519/523/loadfriendslu3.jpg" alt="" /></p>
<p><img src="http://img353.imageshack.us/img353/1227/eventsls9.jpg" alt="" /></p>
<p><img src="http://img176.imageshack.us/img176/7585/intializeservicesma0.jpg" alt="" /></p>
<p>Next, we bind the friends list <strong><span style="background:black none repeat scroll 0 0;font-size:10pt;font-family:Consolas;color:white;">FriendSelected</span></strong><strong><span style="font-size:10pt;font-family:Consolas;color:white;"> </span></strong>event, to allow the user to select his friends he wishes to add as outlook friends</p>
<p><span style="font-size:14pt;font-family:&amp;"><img src="http://img141.imageshack.us/img141/7854/friendsselectedee8.jpg" alt="" /></span></p>
<p><span style="font-size:14pt;font-family:&amp;"><img src="http://img353.imageshack.us/img353/3742/friendstocontactszn2.jpg" alt="" /></span></p>
<p>Next, we add some code to the <strong><span style="background:black none repeat scroll 0 0;font-size:10pt;font-family:Consolas;color:white;">SelectedIndexChanged</span></strong><strong> </strong>list to allow a user to remove a friend he already selected.</p>
<p><span style="font-size:14pt;font-family:&amp;"><img src="http://img156.imageshack.us/img156/1056/selectedindexchangedcf9.jpg" alt="" /></span></p>
<p>Finally, we write the code to move the facebook friends to our outlook contacts.</p>
<p><img src="http://img390.imageshack.us/img390/7924/addtocontactstu5.png" alt="" /></p>
<p><img src="http://img141.imageshack.us/img141/4201/addtomycontacts1gd1.jpg" alt="" /></p>
<p><img src="http://img266.imageshack.us/img266/3522/addtomycontacts2st5.jpg" alt="" /></p>
<p><img src="http://img519.imageshack.us/img519/6875/jobinfoyb8.jpg" alt="" /></p>
<p><img src="http://img519.imageshack.us/img519/8339/hobbyya1.jpg" alt="" /></p>
<p><img src="http://img360.imageshack.us/img360/8058/addgenderel4.jpg" alt="" /></p>
<p><img src="http://img119.imageshack.us/img119/1644/addimagenk4.jpg" alt="" /></p>
<p>and the final output is</p>
<p><img src="http://img168.imageshack.us/img168/1457/donesp0.jpg" alt="" /><br />
Beckham</p>
</div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/beckh0m.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/beckh0m.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/beckh0m.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/beckh0m.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/beckh0m.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/beckh0m.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/beckh0m.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/beckh0m.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/beckh0m.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/beckh0m.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/beckh0m.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/beckh0m.wordpress.com/30/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/beckh0m.wordpress.com/30/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/beckh0m.wordpress.com/30/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=beckh0m.wordpress.com&amp;blog=11025696&amp;post=30&amp;subd=beckh0m&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://beckh0m.wordpress.com/2008/12/16/why-go-facebook-when-you-can-outlook/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f1cb642e3bf0857c937c48cab52bcd3d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">beckh0m</media:title>
		</media:content>

		<media:content url="http://img519.imageshack.us/img519/523/loadfriendslu3.jpg" medium="image" />

		<media:content url="http://img353.imageshack.us/img353/1227/eventsls9.jpg" medium="image" />

		<media:content url="http://img176.imageshack.us/img176/7585/intializeservicesma0.jpg" medium="image" />

		<media:content url="http://img141.imageshack.us/img141/7854/friendsselectedee8.jpg" medium="image" />

		<media:content url="http://img353.imageshack.us/img353/3742/friendstocontactszn2.jpg" medium="image" />

		<media:content url="http://img156.imageshack.us/img156/1056/selectedindexchangedcf9.jpg" medium="image" />

		<media:content url="http://img390.imageshack.us/img390/7924/addtocontactstu5.png" medium="image" />

		<media:content url="http://img141.imageshack.us/img141/4201/addtomycontacts1gd1.jpg" medium="image" />

		<media:content url="http://img266.imageshack.us/img266/3522/addtomycontacts2st5.jpg" medium="image" />

		<media:content url="http://img519.imageshack.us/img519/6875/jobinfoyb8.jpg" medium="image" />

		<media:content url="http://img519.imageshack.us/img519/8339/hobbyya1.jpg" medium="image" />

		<media:content url="http://img360.imageshack.us/img360/8058/addgenderel4.jpg" medium="image" />

		<media:content url="http://img119.imageshack.us/img119/1644/addimagenk4.jpg" medium="image" />

		<media:content url="http://img168.imageshack.us/img168/1457/donesp0.jpg" medium="image" />
	</item>
		<item>
		<title>JQuery Magic Continues &#8211;&gt; Enable Searching and sorting in GridView at the client side.</title>
		<link>http://beckh0m.wordpress.com/2008/11/16/jquery-magic-continues-enable-searching-and-sorting-in-gridview-at-the-client-side/</link>
		<comments>http://beckh0m.wordpress.com/2008/11/16/jquery-magic-continues-enable-searching-and-sorting-in-gridview-at-the-client-side/#comments</comments>
		<pubDate>Sun, 16 Nov 2008 12:24:12 +0000</pubDate>
		<dc:creator>beckh0m</dc:creator>
				<category><![CDATA[C#]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[jQuery sorting Searching GridView]]></category>

		<guid isPermaLink="false">http://beckh0m.wordpress.com/?p=26</guid>
		<description><![CDATA[I geuss you heared about JQuery, Which is an amazing JavaScript library that makes it easy to create wonderful web effects in just a few lines of code. As the website says: “jQuery is a JavaScript library that takes this motto to heart: Writing JavaScript code should be fun. jQuery achieves this goal by taking [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=beckh0m.wordpress.com&amp;blog=11025696&amp;post=26&amp;subd=beckh0m&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I geuss you heared about JQuery, Which is an amazing JavaScript library that makes it easy to create wonderful web effects in just a few lines of code. As the website says:</p>
<p>“jQuery is a JavaScript library that takes this motto to heart: Writing JavaScript code should be fun. jQuery achieves this goal by taking common, repetitive, tasks, stripping out all the unnecessary markup, and leaving them short, smart and understandable.”</p>
<p>there are a lot of jQuery plugins such as facebox.</p>
<p>there is also a 2 plugins that are very cute and neat:</p>
<p>1- The Table Sorter Plugin</p>
<p>2- The table search plugin.</p>
<p>today i&#8217;m gonna use these plugins to allow sorting and searching for the grid view control at the client side ( No Postback)<br />
<strong></strong></p>
<p><strong>okay, Let&#8217;s start,</strong></p>
<p><strong></strong>first of all you need to download the<a href="http://docs.jquery.com/"> jQuery</a>, <a href="http://rikrikrik.com/jquery/quicksearch/">Quick Search</a> &amp; <a href="http://tablesorter.com/docs/">Table Sorter</a> plugins.</p>
<p>1- Create a webpage and put in a GridView control.</p>
<p>2- bind your gridview to a data source. in my case i&#8217;ll use a SQL Data source, that connects to the northwind db and get some information from the [Customers] table.</p>
<p><img src="http://img394.imageshack.us/img394/1446/grdpv2.jpg" alt="gridAndDataSource" /></p>
<p>3- Now the cool part to enable the search into the grid view just add this nice piece of js code</p>
<p><img src="http://img58.imageshack.us/img58/4792/searchxm1.jpg" alt="quicksearch" /></p>
<p>just make sure to add the js files that you downloaded</p>
<p><img src="http://img58.imageshack.us/img58/338/refcc2.jpg" alt="refrences" /></p>
<p>4- To enable sorting is a bit tricky as the table sorter plugin is working with the standard HTML table with  and  tags  but the grid view renders only  without  tag.</p>
<p><img src="http://img87.imageshack.us/img87/5466/tbodyonlytv2.jpg" alt="nothead" /></p>
<p>Okaay, how can we make the gridview renders the  tag ??? We can do that by this line of code which tells the grid view to render the header row as  tag.</p>
<p><img src="http://img204.imageshack.us/img204/2650/theadut6.jpg" alt="addthead" /></p>
<p>Now to make your grid sortable at the client side just add this line</p>
<p><img src="http://img394.imageshack.us/img394/9848/sortvi3.jpg" alt="sortable" /></p>
<p>now you can search and sort your grid at the client.<strong></strong></p>
<p><strong><img src="http://img55.imageshack.us/img55/3458/finalda7.jpg" alt="finalgrid" /></strong></p>
<p><strong>Beckham</strong></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/beckh0m.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/beckh0m.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/beckh0m.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/beckh0m.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/beckh0m.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/beckh0m.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/beckh0m.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/beckh0m.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/beckh0m.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/beckh0m.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/beckh0m.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/beckh0m.wordpress.com/26/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/beckh0m.wordpress.com/26/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/beckh0m.wordpress.com/26/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=beckh0m.wordpress.com&amp;blog=11025696&amp;post=26&amp;subd=beckh0m&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://beckh0m.wordpress.com/2008/11/16/jquery-magic-continues-enable-searching-and-sorting-in-gridview-at-the-client-side/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f1cb642e3bf0857c937c48cab52bcd3d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">beckh0m</media:title>
		</media:content>

		<media:content url="http://img394.imageshack.us/img394/1446/grdpv2.jpg" medium="image">
			<media:title type="html">gridAndDataSource</media:title>
		</media:content>

		<media:content url="http://img58.imageshack.us/img58/4792/searchxm1.jpg" medium="image">
			<media:title type="html">quicksearch</media:title>
		</media:content>

		<media:content url="http://img58.imageshack.us/img58/338/refcc2.jpg" medium="image">
			<media:title type="html">refrences</media:title>
		</media:content>

		<media:content url="http://img87.imageshack.us/img87/5466/tbodyonlytv2.jpg" medium="image">
			<media:title type="html">nothead</media:title>
		</media:content>

		<media:content url="http://img204.imageshack.us/img204/2650/theadut6.jpg" medium="image">
			<media:title type="html">addthead</media:title>
		</media:content>

		<media:content url="http://img394.imageshack.us/img394/9848/sortvi3.jpg" medium="image">
			<media:title type="html">sortable</media:title>
		</media:content>

		<media:content url="http://img55.imageshack.us/img55/3458/finalda7.jpg" medium="image">
			<media:title type="html">finalgrid</media:title>
		</media:content>
	</item>
		<item>
		<title>PLINQO: Professional LINQ to Objects</title>
		<link>http://beckh0m.wordpress.com/2008/07/07/plinqo-professional-linq-to-objects/</link>
		<comments>http://beckh0m.wordpress.com/2008/07/07/plinqo-professional-linq-to-objects/#comments</comments>
		<pubDate>Mon, 07 Jul 2008 10:07:36 +0000</pubDate>
		<dc:creator>beckh0m</dc:creator>
				<category><![CDATA[C#]]></category>
		<category><![CDATA[LINQ]]></category>
		<category><![CDATA[LINQ PLINQ Code Smith]]></category>

		<guid isPermaLink="false">http://beckh0m.wordpress.com/?p=24</guid>
		<description><![CDATA[PLINQO, which stands for Professional LINQ to Objects, is a collection of Code Smith templates that are meant to replace and extend the LINQ to SQL designers that are included with Visual Studio 2008. For more information about PLINQO Check out Paul welter&#8217;s post here. Beckham<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=beckh0m.wordpress.com&amp;blog=11025696&amp;post=24&amp;subd=beckh0m&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p class="MsoNormal"><span style="font-size:12pt;font-family:&quot;"><font size="4" face="Times New Roman"><u><b>PLINQO</b></u>, </font>which stands for Professional LINQ to Objects, is a<br />
collection of <a href="http://www.codesmithtools.com/">Code Smith</a> templates that are meant to replace and extend the<br />
LINQ to SQL designers that are included with Visual Studio 2008.</span></p>
<h1><font size="2"><span style="font-size:12pt;font-family:&quot;">For more information about PLINQO<br />
Check out <a href="http://community.codesmithtools.com/blogs/pwelter/">Paul welter&#8217;s</a> post <a href="http://community.codesmithtools.com/blogs/pwelter/archive/2007/08/08/plinqo.aspx">here</a>.</span></font><span style="font-size:24pt;font-family:&quot;color:windowtext;"></span></h1>
<p>Beckham</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/beckh0m.wordpress.com/24/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/beckh0m.wordpress.com/24/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/beckh0m.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/beckh0m.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/beckh0m.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/beckh0m.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/beckh0m.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/beckh0m.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/beckh0m.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/beckh0m.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/beckh0m.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/beckh0m.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/beckh0m.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/beckh0m.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/beckh0m.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/beckh0m.wordpress.com/24/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=beckh0m.wordpress.com&amp;blog=11025696&amp;post=24&amp;subd=beckh0m&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://beckh0m.wordpress.com/2008/07/07/plinqo-professional-linq-to-objects/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f1cb642e3bf0857c937c48cab52bcd3d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">beckh0m</media:title>
		</media:content>
	</item>
		<item>
		<title>Funny bug in ASP.NET MVC While creating a new project</title>
		<link>http://beckh0m.wordpress.com/2008/06/06/funny-bug-in-asp-net-mvc-while-creating-a-new-project/</link>
		<comments>http://beckh0m.wordpress.com/2008/06/06/funny-bug-in-asp-net-mvc-while-creating-a-new-project/#comments</comments>
		<pubDate>Fri, 06 Jun 2008 07:36:02 +0000</pubDate>
		<dc:creator>beckh0m</dc:creator>
				<category><![CDATA[ASP.Net MVC]]></category>

		<guid isPermaLink="false">http://beckh0m.wordpress.com/?p=22</guid>
		<description><![CDATA[While i was playing with ASP.NET MVC CTP3 i met this funny bug while creating a new MVC project in visual studio 2008: 1- Create a new mvc project and choose to have a test project. 2- In the project name put &#8220;-&#8221;. 3- Hit ok, The project will be created succefully, That&#8217;s great but [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=beckh0m.wordpress.com&amp;blog=11025696&amp;post=22&amp;subd=beckh0m&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>While i was playing with ASP.NET MVC CTP3 i met this funny bug while creating a new MVC project in visual studio 2008: </p>
<p>1- Create a new mvc project and choose to have a test project. </p>
<p>2- In the project name put &#8220;-&#8221;. </p>
<p><img src="http://img260.imageshack.us/img260/5576/newprojectva8.png"> </p>
<p>3- Hit ok, The project will be created succefully, That&#8217;s great but try to build. </p>
<p><img src="http://img133.imageshack.us/img133/8917/nobuilddz9.png"> </p>
<p>Apperantly the &#8220;-&#8221; has been replaced With &#8220;_&#8221; in the namespace name but the odd thing they didn&#8217;t use the right name in the test project <img src='http://s2.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  </p>
<p><img src="http://img133.imageshack.us/img133/2803/replacingdashwithundersvv4.png"> </p>
<p><b>And here is the bug:</b> </p>
<p><img src="http://img210.imageshack.us/img210/5106/thebugwz6.png"> </p>
<p>Beckham </p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/beckh0m.wordpress.com/22/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/beckh0m.wordpress.com/22/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/beckh0m.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/beckh0m.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/beckh0m.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/beckh0m.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/beckh0m.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/beckh0m.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/beckh0m.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/beckh0m.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/beckh0m.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/beckh0m.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/beckh0m.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/beckh0m.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/beckh0m.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/beckh0m.wordpress.com/22/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=beckh0m.wordpress.com&amp;blog=11025696&amp;post=22&amp;subd=beckh0m&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://beckh0m.wordpress.com/2008/06/06/funny-bug-in-asp-net-mvc-while-creating-a-new-project/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f1cb642e3bf0857c937c48cab52bcd3d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">beckh0m</media:title>
		</media:content>

		<media:content url="http://img260.imageshack.us/img260/5576/newprojectva8.png" medium="image" />

		<media:content url="http://img133.imageshack.us/img133/8917/nobuilddz9.png" medium="image" />

		<media:content url="http://img133.imageshack.us/img133/2803/replacingdashwithundersvv4.png" medium="image" />

		<media:content url="http://img210.imageshack.us/img210/5106/thebugwz6.png" medium="image" />
	</item>
		<item>
		<title>Wrap ContinuousText Inside Label</title>
		<link>http://beckh0m.wordpress.com/2008/04/11/wrap-continuoustext-inside-label/</link>
		<comments>http://beckh0m.wordpress.com/2008/04/11/wrap-continuoustext-inside-label/#comments</comments>
		<pubDate>Fri, 11 Apr 2008 08:37:42 +0000</pubDate>
		<dc:creator>beckh0m</dc:creator>
				<category><![CDATA[C#]]></category>
		<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[Wrap text WrapLabel]]></category>

		<guid isPermaLink="false">http://beckh0m.wordpress.com/?p=20</guid>
		<description><![CDATA[Hey guys, I was wondering if any of you has the situation of displaying a text in a label?? sure you did. but imagine the text is tooooo long that it&#8217;s displayed in a long line, Now if you put it in the label it will be displayed in a long line too, to solve this [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=beckh0m.wordpress.com&amp;blog=11025696&amp;post=20&amp;subd=beckh0m&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Hey guys, I was wondering if any of you has the situation of displaying a text in a label?? sure you did. but imagine the text is tooooo long that it&#8217;s displayed in a long line, Now if you put it in the label it will be displayed in a long line too, to solve this problem there is a lot of solutions you will find if you <a href="http://www.google.com.eg/search?sourceid=navclient&amp;ie=UTF-8&amp;rlz=1T4AMSA_enEG259EG259&amp;q=wrap+text+inside+label">google it</a>. you can use a textbox and give it the look of a label and set the wrap property to true this will do the trick. but what if you have a devil user or actually &#8221; QE Teammate &#8220;, and the text he entered is continuous as it was one word in this case it will not be wrapped. so here is a littel extension string helper method that warps the string into lines of length given as a parameter.<br />
The idea here is to devide the string into lines and put a line break tag at the end of the line.</p>
<p><img src="http://img142.imageshack.us/img142/3077/wrapextensionmethodhy2.jpg" alt="" /></p>
<p>Ofcourse it has some drawback such as the last word of the line might be splitted.but you can put &#8220;-&#8221; or something like this at the end of the line.</p>
<p>Hope this is helpfu, The source code is attached.</p>
<p>Beckham</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/beckh0m.wordpress.com/20/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/beckh0m.wordpress.com/20/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/beckh0m.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/beckh0m.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/beckh0m.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/beckh0m.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/beckh0m.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/beckh0m.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/beckh0m.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/beckh0m.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/beckh0m.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/beckh0m.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/beckh0m.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/beckh0m.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/beckh0m.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/beckh0m.wordpress.com/20/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=beckh0m.wordpress.com&amp;blog=11025696&amp;post=20&amp;subd=beckh0m&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://beckh0m.wordpress.com/2008/04/11/wrap-continuoustext-inside-label/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f1cb642e3bf0857c937c48cab52bcd3d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">beckh0m</media:title>
		</media:content>

		<media:content url="http://img142.imageshack.us/img142/3077/wrapextensionmethodhy2.jpg" medium="image" />
	</item>
		<item>
		<title>Next Post</title>
		<link>http://beckh0m.wordpress.com/2008/04/06/18/</link>
		<comments>http://beckh0m.wordpress.com/2008/04/06/18/#comments</comments>
		<pubDate>Sun, 06 Apr 2008 11:26:18 +0000</pubDate>
		<dc:creator>beckh0m</dc:creator>
				<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[coding4Fun]]></category>

		<guid isPermaLink="false">http://beckh0m.wordpress.com/2008/04/06/18/</guid>
		<description><![CDATA[Hey guys, In this post I wanted to share something very cool with you guys, It’s Coding4Fun Developer Toolkit part of the coding4Fun Community. A very cool toolkit that allows you to do a lot of stuff that was very very very difficult before, you can do it now very easily. Here is a link [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=beckh0m.wordpress.com&amp;blog=11025696&amp;post=18&amp;subd=beckh0m&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p class="EC_MsoNormal">Hey guys, In this post I wanted to share something very cool with<br />
you guys, It’s <a href="http://www.microsoft.com/express/samples/C4FDevKit/">Coding4Fun Developer Toolkit</a> part of the <a href="http://blogs.msdn.com/coding4fun/">coding4Fun</a> Community.</p>
<p class="EC_MsoNormal">A very cool toolkit that allows you to do a lot of stuff<br />
that was very very very difficult before, you can do it now very easily.</p>
<p class="EC_MsoNormal">Here is a link to some of the really cool posts that I really loved:</p>
<p class="EC_MsoNormal">The first link is dedicated for the fans or <a href="http://en.wikipedia.org/wiki/Rock_Band_%28video_game%29">Rock Band</a> Game<br />
everywhere and specifically  <a href="http://www.silverkeytech.com/">“Silver Key”</a> folks,<br />
Check out <a href="http://blogs.msdn.com/coding4fun/archive/2008/03/19/8172578.aspx">this</a>.</p>
<p>What about foosball, it&#8217;s like the best game ever, Agree ?? check <a href="http://blogs.msdn.com/coding4fun/archive/2006/10/31/910302.aspx">this</a> out.</p>
<p class="EC_MsoNormal">Have you ever thought that you already have a lot of friends on your facebook account and it would be nice to add these contacts to<br />
your phone, If you did check out <a href="http://blogs.msdn.com/coding4fun/archive/2007/12/28/6893024.aspx">this one</a>.</p>
<p class="EC_MsoNormal">Okay, Now for the fans of working with two monitors, would<br />
you like to set different desktop image to each monitor, If you do check out <a href="http://blogs.msdn.com/coding4fun/archive/2007/10/02/5246528.aspx">this one.</a></p>
<p class="EC_MsoNormal">For ASP.Net  Fans check out this new <span style="color:#a55506;font-family:Georgia,serif;"><a href="http://channel9.msdn.com/ShowPost.aspx?PostID=305671">WhoIsLooking</a> ASP.NET<br />
Control.<br />
</span></p>
<p class="EC_MsoNormal">For more tutorial and samples and other very cool apps check out the <a href="http://blogs.msdn.com/coding4fun/">Coding4Fun</a><br />
Site.</p>
<p class="EC_MsoNormal">
<p class="EC_MsoNormal">Beckham</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/beckh0m.wordpress.com/18/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/beckh0m.wordpress.com/18/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/beckh0m.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/beckh0m.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/beckh0m.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/beckh0m.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/beckh0m.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/beckh0m.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/beckh0m.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/beckh0m.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/beckh0m.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/beckh0m.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/beckh0m.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/beckh0m.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/beckh0m.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/beckh0m.wordpress.com/18/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=beckh0m.wordpress.com&amp;blog=11025696&amp;post=18&amp;subd=beckh0m&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://beckh0m.wordpress.com/2008/04/06/18/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f1cb642e3bf0857c937c48cab52bcd3d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">beckh0m</media:title>
		</media:content>
	</item>
		<item>
		<title>Sorting a Grid View That&#8217;s bounded to IEnumerable</title>
		<link>http://beckh0m.wordpress.com/2008/03/22/sorting-a-grid-view-thats-bounded-to-ienumerable/</link>
		<comments>http://beckh0m.wordpress.com/2008/03/22/sorting-a-grid-view-thats-bounded-to-ienumerable/#comments</comments>
		<pubDate>Sat, 22 Mar 2008 09:39:37 +0000</pubDate>
		<dc:creator>beckh0m</dc:creator>
				<category><![CDATA[ASP.Net]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[LINQ]]></category>
		<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[Grid View IEnumerable Sorting a Grid View]]></category>

		<guid isPermaLink="false">http://beckh0m.wordpress.com/?p=15</guid>
		<description><![CDATA[Have you ever had a grid view that&#8217;s bounded to an IEnumerable collection? Yes. Very well have you ever wanted to enable sorting to this grid view? Yeah, what&#8217;s the big deal? Okay, here is the deal:- Grid view enable automatic sorting that allows you to sort you data in the grid view without writing [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=beckh0m.wordpress.com&amp;blog=11025696&amp;post=15&amp;subd=beckh0m&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Have you ever had a grid view that&#8217;s bounded to an IEnumerable collection? Yes.<br />
Very well have you ever wanted to enable sorting to this grid view? Yeah, what&#8217;s the big deal?</p>
<p><strong>Okay, here is the deal:-<br />
</strong><br />
Grid view enable automatic sorting that allows you to sort you data in the grid view without writing any code but sadly this automatic sorting is enabled only for Grid View that&#8217;s bounded to a DataSourceControl (i.e. SqlDataSource, ObjectDataSource).<br />
You can&#8217;t do that with grid view that&#8217;s bounded to an IEnumerable collection, why?<br />
Because actually the grid view uses the DataSourceControl to sort the data for it.</p>
<p>So how can I sort my gridview that&#8217;s bounded to a IEnumerable collection? You can reconstruct your collection as a table and then pass that table to a data view and sort these data using that data view sorting and then bind your grid view to the data view like that :-&gt;</p>
<p><img src="http://img213.imageshack.us/img213/4987/customerlistandclassvp6.jpg" alt="" /></p>
<p>This is the defenition of our customer class that will be used to fill our collection.<br />
Notic: The serializable attribute only so we can save our list of cutomers to the ViewState.</p>
<p><img src="http://img329.imageshack.us/img329/3405/sortexpressionanddirectaj3.png" alt="" /></p>
<p>We will need to keep track of our current sort expression and direction so we can use it later in resorting the list.</p>
<p><img src="http://img170.imageshack.us/img170/5742/pageloaduz4.jpg" alt="" /></p>
<p>Her we fill our list of customers with some dummy data.</p>
<p><img src="http://img329.imageshack.us/img329/5357/sortdirectionmethodhi3.jpg" alt="" /></p>
<p>Change the sort direction from Ascending to Descending and vice versa.</p>
<p><img src="http://img172.imageshack.us/img172/7820/sortingeventhandlerwk1.jpg" alt="" /></p>
<p>Look at our Sorting event handler see how much code we wrote to get this done. Is this the only way to do that ?? Noooo, we can do that very easily using LINQ without creating a table or a data view.</p>
<p><span class="style1"><strong><span style="font-size:medium;">LINQ To The Rescue:-</span></strong></span><br />
See all that code we wrote to create a table and fill the table with data and then creating the creating the data view, well we don&#8217;t need all of that.<br />
We will use the Order by extension method to sort our IEnumerable collection.<br />
ex: -</p>
<p><img src="http://img179.imageshack.us/img179/6472/sortnglistnk0.jpg" alt="" /></p>
<p>Well that&#8217;s great and everything but dude you hard coded the sort expression &#8220;customer.Id&#8221; what will I do if the user clicks on the Name column? Well you can continue hard coding and write an order by statement for each column you have and select the appropriate statement using switch case based on the user&#8217;s selections.<br />
Dude that&#8217;s horrible I don&#8217;t like hard coding, Is there anyway else like passing the property name as a variable? Well, No you can&#8217;t pass the property name as a variable but yes there is another way,  You can use reflection to get the property name dynamically <img src='http://s1.wp.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p><img src="http://img510.imageshack.us/img510/6309/sortnglistusingreflectiwn8.jpg" alt="" /></p>
<p>Here is our Sorting event handler after using Orderby and reflection :-</p>
<p><img src="http://img329.imageshack.us/img329/9833/sortinghandlerafterreflja3.jpg" alt="" /></p>
<p><strong>Beckham</strong></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/beckh0m.wordpress.com/15/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/beckh0m.wordpress.com/15/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/beckh0m.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/beckh0m.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/beckh0m.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/beckh0m.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/beckh0m.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/beckh0m.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/beckh0m.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/beckh0m.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/beckh0m.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/beckh0m.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/beckh0m.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/beckh0m.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/beckh0m.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/beckh0m.wordpress.com/15/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=beckh0m.wordpress.com&amp;blog=11025696&amp;post=15&amp;subd=beckh0m&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://beckh0m.wordpress.com/2008/03/22/sorting-a-grid-view-thats-bounded-to-ienumerable/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f1cb642e3bf0857c937c48cab52bcd3d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">beckh0m</media:title>
		</media:content>

		<media:content url="http://img213.imageshack.us/img213/4987/customerlistandclassvp6.jpg" medium="image" />

		<media:content url="http://img329.imageshack.us/img329/3405/sortexpressionanddirectaj3.png" medium="image" />

		<media:content url="http://img170.imageshack.us/img170/5742/pageloaduz4.jpg" medium="image" />

		<media:content url="http://img329.imageshack.us/img329/5357/sortdirectionmethodhi3.jpg" medium="image" />

		<media:content url="http://img172.imageshack.us/img172/7820/sortingeventhandlerwk1.jpg" medium="image" />

		<media:content url="http://img179.imageshack.us/img179/6472/sortnglistnk0.jpg" medium="image" />

		<media:content url="http://img510.imageshack.us/img510/6309/sortnglistusingreflectiwn8.jpg" medium="image" />

		<media:content url="http://img329.imageshack.us/img329/9833/sortinghandlerafterreflja3.jpg" medium="image" />
	</item>
		<item>
		<title>ASP.NET MVC Preview 2</title>
		<link>http://beckh0m.wordpress.com/2008/03/15/9/</link>
		<comments>http://beckh0m.wordpress.com/2008/03/15/9/#comments</comments>
		<pubDate>Sat, 15 Mar 2008 07:12:53 +0000</pubDate>
		<dc:creator>beckh0m</dc:creator>
				<category><![CDATA[ASP.Net MVC]]></category>
		<category><![CDATA[Java Script]]></category>
		<category><![CDATA[jQuery]]></category>

		<guid isPermaLink="false">http://beckh0m.wordpress.com/?p=9</guid>
		<description><![CDATA[ASP.NET MVC Preview 2 is released and you can download it from here. In this CTP, A lot of changes happened in the MVC framework such as: 1- When you define a controller action method you don&#8217;t have to put the [ControllerAction] all you have to do is to define the method as public and [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=beckh0m.wordpress.com&amp;blog=11025696&amp;post=9&amp;subd=beckh0m&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<h2 style="margin:auto 0;">
<p class="MsoNormal" style="direction:ltr;unicode-bidi:embed;text-align:left;margin:0;" dir="ltr">
<p><span style="font-size:medium;">ASP.NET MVC Preview 2 is released and you can download it from <a href="http://www.microsoft.com/downloads/details.aspx?FamilyId=38CC4CF1-773A-47E1-8125-BA3369BF54A3&amp;displaylang=en">here.</a></span></h2>
<p class="MsoNormal" style="direction:ltr;unicode-bidi:embed;text-align:left;margin:0;" dir="ltr">In this CTP, A lot of changes happened in the MVC framework such as:</p>
<p class="MsoNormal" style="direction:ltr;unicode-bidi:embed;text-align:left;margin:0;" dir="ltr">
<p class="MsoNormal" style="direction:ltr;text-indent:-18pt;unicode-bidi:embed;text-align:left;margin:0 0 0 36pt;" dir="ltr">1-<span style="font-family:'Times New Roman';font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> W</span>hen you define a controller action method you don&#8217;t have to put the <span style="font-size:10pt;font-family:'Courier New';">[<span style="color:#2b91af;">ControllerAction</span>]</span> all you have to do is to define the method as public and it will be part of the contract, Okay but what if I wanted to define a non action method, well now you have to put an attribute <span style="font-family:Wingdings;">J</span> <span style="font-size:10pt;font-family:'Courier New';">[<span style="color:#2b91af;">NonAction</span>]. </span></p>
<p class="MsoNormal" style="direction:ltr;text-indent:-18pt;unicode-bidi:embed;text-align:left;margin:0 0 0 36pt;" dir="ltr"><span style="font-size:10pt;font-family:'Courier New';"> </span></p>
<p class="MsoNormal" style="direction:ltr;text-indent:-18pt;unicode-bidi:embed;text-align:left;margin:0 0 0 36pt;" dir="ltr">2-<span style="font-family:'Times New Roman';font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span><span style="font-size:10pt;font-family:'Courier New';">Another thing is the {*catchall} The new * which allows you pass anything from the * to the end of the URL as a parameter for the action. And this is actually what I&#8217;m going to talk about in this post. But you can find a lot of stuff about the ASP.NET MVC Framework Preview 2 in <a href="http://www.hanselman.com/blog/">Scott Hanselman</a> Videos <a href="http://asp.net/mvc/">here</a>.</span></p>
<p class="MsoNormal" style="direction:ltr;unicode-bidi:embed;text-align:left;margin:0 0 0 18pt;" dir="ltr"><span style="font-size:10pt;font-family:'Courier New';"> </span></p>
<p class="MsoNormal" style="direction:ltr;unicode-bidi:embed;text-align:left;margin:0 0 0 18pt;" dir="ltr"><span style="font-size:10pt;font-family:'Courier New';"> </span></p>
<p class="MsoNormal" style="direction:ltr;unicode-bidi:embed;text-align:left;margin:0 0 0 18pt;" dir="ltr"><span style="font-size:10pt;font-family:'Courier New';">In my <a href="http://beckh0m.wordpress.com/2008/03/14/asp-net-mvc-jquery-magic/" target="_blank">previous post</a> I bloged about ASP.NET MVC &amp; JQuery,</span> I was calling an action method which takes as a parameter the name of the category (In the Northwind database) to get the products for that category.</p>
<p class="MsoNormal" style="direction:ltr;unicode-bidi:embed;text-align:left;margin:0 0 0 18pt;" dir="ltr">Well, the thing is some of the categories name contains &#8220;/&#8221; which as you already know is used in the URL, so it didn&#8217;t work. I overcome this issue by using Query String to pass in the parameter to the action method like that:</p>
<p class="MsoNormal" style="direction:ltr;unicode-bidi:embed;text-align:left;margin:0 0 0 18pt;" dir="ltr">
<p class="MsoNormal" style="direction:ltr;unicode-bidi:embed;text-align:left;margin:0 0 0 18pt;" dir="ltr"><span style="font-size:10pt;color:blue;font-family:'Courier New';"> var</span><span style="font-size:10pt;font-family:'Courier New';"> url = <span style="color:#a31515;">&#8216;/Products/GetProducts?category=&#8217;</span>+ categoryName;</span></p>
<p class="MsoNormal" style="direction:ltr;unicode-bidi:embed;text-align:left;margin:0 0 0 18pt;" dir="ltr">
<p class="MsoNormal" style="direction:ltr;unicode-bidi:embed;text-align:left;margin:0 0 0 18pt;" dir="ltr">But now with the new <span style="font-size:10pt;font-family:'Courier New';">{*catchall}</span> route rule it can be done.</p>
<p class="MsoNormal" style="direction:ltr;unicode-bidi:embed;text-align:left;margin:0 0 0 18pt;" dir="ltr"><span style="font-size:10pt;font-family:'Courier New';"> </span></p>
<p class="MsoNormal" style="direction:ltr;unicode-bidi:embed;text-align:left;margin:0 0 0 18pt;" dir="ltr"><span style="font-size:10pt;font-family:'Courier New';">routes.Add(<span style="color:blue;">new</span> <span style="color:#2b91af;">Route</span>( <span style="color:#a31515;">&#8220;Products/GetProducts/ {*category}&#8221;</span>,<span style="color:blue;">new</span> <span style="color:#2b91af;">MvcRouteHandler</span>())</span></p>
<p class="MsoNormal" style="direction:ltr;unicode-bidi:embed;text-align:left;margin:0;" dir="ltr"><span style="font-size:10pt;font-family:'Courier New';"> {<br />
</span><span style="font-size:10pt;font-family:'Courier New';"> Defaults = <span style="color:blue;">new</span> <span style="color:#2b91af;">RouteValueDictionary</span> (<span style="color:blue;">new</span> </span></p>
<p class="MsoNormal" style="direction:ltr;unicode-bidi:embed;text-align:left;margin:0;" dir="ltr"><span style="font-size:10pt;font-family:'Courier New';"> {</span></p>
<p class="MsoNormal" style="direction:ltr;unicode-bidi:embed;text-align:left;margin:0;" dir="ltr"><span style="font-size:10pt;font-family:'Courier New';"> controller = <span style="color:#a31515;">&#8220;Products&#8221;</span>,</span></p>
<p class="MsoNormal" style="direction:ltr;unicode-bidi:embed;text-align:left;margin:0;" dir="ltr"><span style="font-size:10pt;font-family:'Courier New';"> action = <span style="color:#a31515;">&#8220;GetProducts&#8221;</span> </span></p>
<p class="MsoNormal" style="direction:ltr;unicode-bidi:embed;text-align:left;margin:0;" dir="ltr"><span style="font-size:10pt;font-family:'Courier New';"> }),</span></p>
<p class="MsoNormal" style="direction:ltr;unicode-bidi:embed;text-align:left;margin:0;" dir="ltr"><span style="font-size:10pt;font-family:'Courier New';"> </span></p>
<p class="MsoNormal" style="direction:ltr;unicode-bidi:embed;text-align:left;margin:0 0 0 18pt;" dir="ltr"><span style="font-size:10pt;font-family:'Courier New';"> });</span></p>
<p class="MsoNormal" style="direction:ltr;unicode-bidi:embed;text-align:left;margin:0 0 0 18pt;" dir="ltr">
<p class="MsoNormal" style="direction:ltr;unicode-bidi:embed;text-align:left;margin:0 0 0 18pt;" dir="ltr">As you can see I used the {*category} not {*catchall} so catchall is not a keyword the * is the important part. But the important thing is whatever name you put after the {*} you must use the same name for the action method parameter.</p>
<p class="MsoNormal" style="direction:ltr;unicode-bidi:embed;text-align:left;margin:0 0 0 18pt;" dir="ltr">For example, in the previous snippet I used:</p>
<p class="MsoNormal" style="direction:ltr;unicode-bidi:embed;text-align:left;margin:0 0 0 18pt;" dir="ltr"><span style="font-size:10pt;color:#a31515;font-family:'Courier New';">&#8220;Products/GetProducts/{*category}</span></p>
<p class="MsoNormal" style="direction:ltr;unicode-bidi:embed;text-align:left;margin:0 0 0 18pt;" dir="ltr">
<p class="MsoNormal" style="direction:ltr;unicode-bidi:embed;text-align:left;margin:0 0 0 18pt;" dir="ltr">So in my Get Products action method I must pass in a category parameter like that:</p>
<p class="MsoNormal" style="direction:ltr;text-indent:18pt;unicode-bidi:embed;text-align:left;margin:0;" dir="ltr"><span style="font-size:10pt;color:blue;font-family:'Courier New';"> </span></p>
<p class="MsoNormal" style="direction:ltr;text-indent:18pt;unicode-bidi:embed;text-align:left;margin:0;" dir="ltr"><span style="font-size:10pt;color:blue;font-family:'Courier New';"> public</span><span style="font-size:10pt;font-family:'Courier New';"> <span style="color:blue;">void</span> GetProducts(<span style="color:blue;">string</span> category)</span></p>
<p class="MsoNormal" style="direction:ltr;unicode-bidi:embed;text-align:left;margin:0 0 0 18pt;" dir="ltr"><span style="font-size:10pt;font-family:'Courier New';"> {</span></p>
<p class="MsoNormal" style="direction:ltr;unicode-bidi:embed;text-align:left;margin:0 0 0 18pt;" dir="ltr">}</p>
<p class="MsoNormal" style="direction:ltr;unicode-bidi:embed;text-align:left;margin:0 0 0 18pt;" dir="ltr">
<p class="MsoNormal" style="direction:ltr;unicode-bidi:embed;text-align:left;margin:0 0 0 18pt;" dir="ltr">The full source is attached.</p>
<p class="MsoNormal" style="direction:ltr;unicode-bidi:embed;text-align:left;margin:0 0 0 18pt;" dir="ltr">
<p class="MsoNormal" style="direction:ltr;unicode-bidi:embed;text-align:left;margin:0 0 0 18pt;" dir="ltr">
<p class="MsoNormal" style="direction:ltr;unicode-bidi:embed;text-align:left;margin:0 0 0 18pt;" dir="ltr">P.S: To convert an MVC Application from Preview 1 to Preview 2 there is a lot of stuff and I mean &#8220;a lot&#8221; that you will have to change to get your application up and running and most of the changes will not be in your code. So if your application is a small one my advice is that create  a new application and just copy &amp; paste your code in to it and now the changes that you will have to make is in your code <span style="font-family:Wingdings;">J</span></p>
<p class="MsoNormal" style="direction:ltr;unicode-bidi:embed;text-align:left;margin:0 0 0 18pt;"><span style="font-family:Times New Roman;">But if your application big and hard to just copy &amp; paste just follow the steps the release notes <a href="http://www.asp.net/downloads/3.5-extensions/readme/Preview2.aspx">here</a>.</span></p>
<p class="MsoNormal" style="direction:ltr;unicode-bidi:embed;text-align:left;margin:0 0 0 18pt;">
<p class="MsoNormal" style="direction:ltr;unicode-bidi:embed;text-align:left;margin:0 0 0 18pt;"><strong><span style="font-family:Times New Roman;">Beckham</span></strong></p>
<p class="MsoNormal" style="direction:ltr;unicode-bidi:embed;text-align:left;margin:0;"><span style="font-family:Times New Roman;"> </span></p>
<p class="MsoNormal" style="direction:ltr;unicode-bidi:embed;text-align:left;margin:0 0 0 18pt;" dir="ltr">
<p class="MsoNormal" style="direction:ltr;unicode-bidi:embed;text-align:left;margin:0;" dir="ltr">
<p class="MsoNormal" style="direction:ltr;unicode-bidi:embed;text-align:left;margin:0;" dir="ltr">
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/beckh0m.wordpress.com/9/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/beckh0m.wordpress.com/9/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/beckh0m.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/beckh0m.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/beckh0m.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/beckh0m.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/beckh0m.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/beckh0m.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/beckh0m.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/beckh0m.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/beckh0m.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/beckh0m.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/beckh0m.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/beckh0m.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/beckh0m.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/beckh0m.wordpress.com/9/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=beckh0m.wordpress.com&amp;blog=11025696&amp;post=9&amp;subd=beckh0m&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://beckh0m.wordpress.com/2008/03/15/9/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/f1cb642e3bf0857c937c48cab52bcd3d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">beckh0m</media:title>
		</media:content>
	</item>
	</channel>
</rss>
