<?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>Rockybound Connections</title>
	<atom:link href="http://rockybound.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://rockybound.wordpress.com</link>
	<description>One man&#039;s work, play and life in Colorado</description>
	<lastBuildDate>Wed, 16 Mar 2011 04:12:38 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='rockybound.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Rockybound Connections</title>
		<link>http://rockybound.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://rockybound.wordpress.com/osd.xml" title="Rockybound Connections" />
	<atom:link rel='hub' href='http://rockybound.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Deleting Content Types in SharePoint 2010</title>
		<link>http://rockybound.wordpress.com/2011/03/15/deleting-content-types-in-sharepoint-2010/</link>
		<comments>http://rockybound.wordpress.com/2011/03/15/deleting-content-types-in-sharepoint-2010/#comments</comments>
		<pubDate>Wed, 16 Mar 2011 04:12:37 +0000</pubDate>
		<dc:creator>rockybound</dc:creator>
				<category><![CDATA[SharePoint 2010]]></category>
		<category><![CDATA[content types]]></category>
		<category><![CDATA[site columns]]></category>

		<guid isPermaLink="false">https://rockybound.wordpress.com/2011/03/15/deleting-content-types-in-sharepoint-2010/</guid>
		<description><![CDATA[While developing some content types and site columns for a client, I had the issue of being unable to delete the content types after deleting any libraries and documents that were using them.&#160; The issue turned out to be the second recycle bin that lives at the site collection level.&#160; The process that finally worked [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rockybound.wordpress.com&amp;blog=2981539&amp;post=98&amp;subd=rockybound&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>While developing some content types and site columns for a client, I had the issue of being unable to delete the content types after deleting any libraries and documents that were using them.&#160; The issue turned out to be the second recycle bin that lives at the site collection level.&#160; The process that finally worked is the following:</p>
<ol>
<li>Delete all items using the content type</li>
<li>Go to the site level recycle bin (typically accessible from the link toward the bottom of the left navigation bar) and delete items from there.</li>
<li>Go to site collection recycle bin (accessible from the Site Collection settings </li>
</ol>
<p> When these steps were completed, I was able to delete the content types and site columns successfully.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rockybound.wordpress.com/98/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rockybound.wordpress.com/98/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/rockybound.wordpress.com/98/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/rockybound.wordpress.com/98/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/rockybound.wordpress.com/98/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/rockybound.wordpress.com/98/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/rockybound.wordpress.com/98/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/rockybound.wordpress.com/98/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/rockybound.wordpress.com/98/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/rockybound.wordpress.com/98/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/rockybound.wordpress.com/98/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/rockybound.wordpress.com/98/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/rockybound.wordpress.com/98/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/rockybound.wordpress.com/98/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rockybound.wordpress.com&amp;blog=2981539&amp;post=98&amp;subd=rockybound&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://rockybound.wordpress.com/2011/03/15/deleting-content-types-in-sharepoint-2010/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/73ef2ee4a7ebe918495814448b64d767?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">rockybound</media:title>
		</media:content>
	</item>
		<item>
		<title>2010 Denver Rock n&#8217; Roll Marathon &#8211; Done!</title>
		<link>http://rockybound.wordpress.com/2010/10/17/2010-denver-rock-n-roll-marathon-done/</link>
		<comments>http://rockybound.wordpress.com/2010/10/17/2010-denver-rock-n-roll-marathon-done/#comments</comments>
		<pubDate>Mon, 18 Oct 2010 03:26:50 +0000</pubDate>
		<dc:creator>rockybound</dc:creator>
				<category><![CDATA[Running]]></category>
		<category><![CDATA[Denver Marathon]]></category>
		<category><![CDATA[marathon]]></category>

		<guid isPermaLink="false">https://rockybound.wordpress.com/2010/10/17/2010-denver-rock-n-roll-marathon-done/</guid>
		<description><![CDATA[The race I’ve been training for since the beginning of April has come and gone.&#160; My training came to a conclusion today with the running of my first ever marathon.&#160; The inaugural Denver Rock n’ Roll Marathon took place today with 15,000 crazy people running the half and the full race.&#160; My experience was one [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rockybound.wordpress.com&amp;blog=2981539&amp;post=96&amp;subd=rockybound&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>The race I’ve been training for since the beginning of April has come and gone.&#160; My training came to a conclusion today with the running of my first ever marathon.&#160; The inaugural Denver Rock n’ Roll Marathon took place today with 15,000 crazy people running the half and the full race.&#160; My experience was one of a kind, with both excitement, fun and lessons learned.</p>
<p>My father came out from California to support me and be my “sherpa”, agreeing to hold my sweats and things for over four hours.&#160; (Thanks dad!)&#160; The alarm went off this morning at 4am with plans to leave by 5am.&#160; I made a checklist and got everything organized the night before, so I was pretty ready to go this morning.&#160; I made my customary pre-workout bagel with butter and jelly, and my Gatorade Pre drink.&#160; We drove to my favorite secret parking garage, fully expecting for it to be filled up.&#160; As luck would have it, my secret garage is still a secret.&#160; Yay!&#160; Now, all we needed to do was collect our things and catch the free bus to the start.&#160; Problem was, there was no bus.&#160; I don’t know what the web site was talking about when they said the busses started running at 5:15, but we didn’t see one bus.&#160; So, we walked the mile up to Civic Center park.&#160; Luckily, that was only one of two issues for the whole day.</p>
<p>The Runner’s Edge of the Rockies running club is the group I trained with all summer.&#160; What a great bunch!&#160; My pace group, 4:30, was full of support and positive vibes all year, and this race was no exception.&#160; We met a small group of 4:30ers at our designated meeting area.&#160; They were as excited as I was, and the majority of them were only running the half!&#160; Kari, Glenn, Amy (otherwise known as Marathon Barbie), and Carrie were as excited for me as I was, offering tons of support which I really appreciated.&#160; Thanks guys!</p>
<p>So, about 6:30, we made our way to the corrals.&#160; This was a cluster, if I do say so myself.&#160; I think they’re called “corrals” for a reason.&#160; By the time I made my way to corral 8, the gun went off.&#160; About 5 minutes later I crossed under the big starting arch and was off on my first 26.2!</p>
<p>So this is how my race went.&#160; I had been advised to be conscience of starting too fast, so I looked at my Garmin frequently over the first couple miles.&#160; I had decided to try and run a pace that would get me a 4:20 time, which was my first of many mistakes.&#160; Looking back, I have no idea why I was thinking I could run that fast, since I was training for 4:30.&#160; I thought, “what’s 10 minutes?”.&#160; As it turns out, a lot.</p>
<p>Three miles into it I was right on pace with my 4:20 pace band and feeling great.&#160; I hit the 17th street hill and powered up it like it was a downhill.&#160; I was cruising mile after mile, feeling like I owned this race.&#160; The race went through numerous parks in the Denver area, from City Park to Cheesman to Washington Park.&#160; I got to Wash Park and the wheels fell off.&#160; I had never experienced the runner’s “wall” before, but I know now what it feels like.&#160; My ankles, knees, hips and calves started screaming at me.&#160; My heart rate was decent, but by that time I knew my great start had come with a price.&#160; I should have backed off a lot more at the beginning.&#160; My cockiness of trying to run faster than I had trained had caught up with me and my body let me know it with a vengeance.</p>
<p>My pipe-dream goal of running a 4:20 marathon had turned into just finishing the race.&#160; For the last 6 miles, I plodded along with a run/walk strategy that got me to the finish.&#160; I will say though, that I had a little, well let’s say “motivational” conversation with myself for the last mile (I think it started with a “get your a$$ moving” statement), so I did run the last mile.&#160; I crossed the finish line with a time of 4:51:36.&#160; So, taking the positive out of it, I finished AND&#160; broke 5 hours.&#160; I’m happy with that.</p>
<p>Now, here I am at home, after taking a well needed ice bath and a few Tylonol.&#160; My legs are still screaming and I’m assuming they will tomorrow as well.&#160; All in all it was an incredible experience.&#160; I’d like to say that this won’t be my only marathon experience, but it’s too soon to tell.&#160; I’ll make that decision after the dogs stop barkin’.&#160; I had so much fun with my training group this summer and would really like to run with them again.&#160; I met some great friends, had some great times and ran more than I ever had dreamed.&#160; Thanks to everyone for their support and comradery, and special thanks to my wife and kids for putting up with my Saturday morning long runs, my Monday evening boot camps and “brain” camps.&#160; You only run your first marathon once, and I’ll never forget my first.&#160; </p>
<p><a href="http://rockybound.files.wordpress.com/2010/10/img_2488.jpg"><img style="border-bottom:0;border-left:0;display:inline;border-top:0;border-right:0;" title="IMG_2488" border="0" alt="IMG_2488" src="http://rockybound.files.wordpress.com/2010/10/img_2488_thumb.jpg?w=355&#038;h=471" width="355" height="471" /></a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rockybound.wordpress.com/96/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rockybound.wordpress.com/96/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/rockybound.wordpress.com/96/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/rockybound.wordpress.com/96/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/rockybound.wordpress.com/96/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/rockybound.wordpress.com/96/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/rockybound.wordpress.com/96/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/rockybound.wordpress.com/96/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/rockybound.wordpress.com/96/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/rockybound.wordpress.com/96/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/rockybound.wordpress.com/96/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/rockybound.wordpress.com/96/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/rockybound.wordpress.com/96/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/rockybound.wordpress.com/96/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rockybound.wordpress.com&amp;blog=2981539&amp;post=96&amp;subd=rockybound&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://rockybound.wordpress.com/2010/10/17/2010-denver-rock-n-roll-marathon-done/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/73ef2ee4a7ebe918495814448b64d767?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">rockybound</media:title>
		</media:content>

		<media:content url="http://rockybound.files.wordpress.com/2010/10/img_2488_thumb.jpg" medium="image">
			<media:title type="html">IMG_2488</media:title>
		</media:content>
	</item>
		<item>
		<title>Comparing 12 weeks ago to yesterday</title>
		<link>http://rockybound.wordpress.com/2010/08/22/comparing-12-weeks-ago-to-yesterday/</link>
		<comments>http://rockybound.wordpress.com/2010/08/22/comparing-12-weeks-ago-to-yesterday/#comments</comments>
		<pubDate>Sun, 22 Aug 2010 17:49:16 +0000</pubDate>
		<dc:creator>rockybound</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">https://rockybound.wordpress.com/2010/08/22/comparing-12-weeks-ago-to-yesterday/</guid>
		<description><![CDATA[After my 12 mile long run yesterday, I started reflecting on the perceived effort I needed to complete a longish run now compared to the beginning of my training. Yesterday, I completed the 12 miler feeling that &#8220;runner&#8217;s high&#8221; I&#8217;ve always heard so much about. Compared to the beginning, where I&#8217;d be gasping for air [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rockybound.wordpress.com&amp;blog=2981539&amp;post=93&amp;subd=rockybound&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>After my 12 mile long run yesterday, I started reflecting on the perceived effort I needed to complete a longish run now compared to the beginning of my training. Yesterday, I completed the 12 miler feeling that &#8220;runner&#8217;s high&#8221; I&#8217;ve always heard so much about. Compared to the beginning, where I&#8217;d be gasping for air and seemingly close to death, I couldn&#8217;t help but feel a sense of accomplishment for the progress I&#8217;ve made.  Just goes to show that you can do anything if you set you mind to it.  Note to self &#8211; keep it up!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rockybound.wordpress.com/93/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rockybound.wordpress.com/93/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/rockybound.wordpress.com/93/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/rockybound.wordpress.com/93/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/rockybound.wordpress.com/93/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/rockybound.wordpress.com/93/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/rockybound.wordpress.com/93/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/rockybound.wordpress.com/93/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/rockybound.wordpress.com/93/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/rockybound.wordpress.com/93/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/rockybound.wordpress.com/93/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/rockybound.wordpress.com/93/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/rockybound.wordpress.com/93/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/rockybound.wordpress.com/93/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rockybound.wordpress.com&amp;blog=2981539&amp;post=93&amp;subd=rockybound&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://rockybound.wordpress.com/2010/08/22/comparing-12-weeks-ago-to-yesterday/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/73ef2ee4a7ebe918495814448b64d767?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">rockybound</media:title>
		</media:content>
	</item>
		<item>
		<title>Looking Toward the Rock &#8216;n Roll Marathon &#8211; Denver</title>
		<link>http://rockybound.wordpress.com/2010/08/20/looking-toward-the-rock-n-roll-marathon-denver/</link>
		<comments>http://rockybound.wordpress.com/2010/08/20/looking-toward-the-rock-n-roll-marathon-denver/#comments</comments>
		<pubDate>Sat, 21 Aug 2010 03:17:18 +0000</pubDate>
		<dc:creator>rockybound</dc:creator>
				<category><![CDATA[Running]]></category>
		<category><![CDATA[marathon]]></category>
		<category><![CDATA[running]]></category>

		<guid isPermaLink="false">https://rockybound.wordpress.com/2010/08/20/looking-toward-the-rock-n-roll-marathon-denver/</guid>
		<description><![CDATA[That’s right boys and girls – I’m going to run my first ever marathon this year!&#160; I’ve chosen the Denver Rock ‘n Roll because of the timing and because I know half of the course already (well, sort of).&#160; You see, back in 2006, I ran the half marathon and, funny as it seems now, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rockybound.wordpress.com&amp;blog=2981539&amp;post=92&amp;subd=rockybound&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>That’s right boys and girls – I’m going to run my first ever marathon this year!&#160; I’ve chosen the Denver Rock ‘n Roll because of the timing and because I know half of the course already (well, sort of).&#160; You see, back in 2006, I ran the half marathon and, funny as it seems now, vowed I’d never run a full.&#160; But this year, the year I turn (ahem) 40, I decided to either go skydiving or run a marathon.&#160; I ran it by the head office (wife) and she said very nicely, “are you freakin’ nuts?&#160; You have two kids – you’re not jumping out of a plane.”&#160; So, looks like I’m running.</p>
<p>Consequently, I’ve actually been training since June.&#160; I joined a runner’s club called Runner’s Edge of the Rockies, which has turned out to be the best move I’ve made in achieving the goal.&#160; The club has given me a training plan, motivation in the form of Saturday long runs which are supported with aid stations every two miles.&#160; The people in the group are first rate.&#160; I’m running in the 4:30 pace group, meaning they work toward the time of 4 hours, 30 minutes for the marathon.&#160; David, the club’s leader and head coach, is a great guy and really knows what he’s doing.&#160; I’ve learned a lot about training and the mental aspect of endurance sports.&#160; Being a volleyball player since high school, I am used to mentally preparing for a game that goes in spurts, and doesn’t last more than about an hour.&#160; I’ve had to come up with new ways to stay mentally strong over a period of 1 to 4 hours.&#160; At the beginning, it was difficult to maintain, and I found myself just giving up and walking part of the way.&#160; But as I got used to it, I found ways to focus.</p>
<p>I had my first race test last week.&#160; I ran the Georgetown Half Marathon as kind of a test, to see where I am physically and mentally.&#160; I decided I wanted to run a 2 hour, 15 minute half as a goal, thinking that if I double it, I’d meet my marathon goal.&#160; Well, I later found out (after I met my goal in 2 hours, 14 minutes) that this logic is flawed.&#160; I can’t say exactly why, but for some reason it doesn’t work that way.&#160; I’m not disappointed though – I set a goal and made it.&#160; The best part was, I finished the run and really felt like I could go further.&#160; I was amazed.</p>
<p>Anyway, these next few weeks will be the crux of my training.&#160; Tomorrow, I’ll be running 12 miles and next weekend I’ll be running (gulp) 18 miles, which will be the longest I’ve ever run at once.&#160; I think it’ll be a good test as to how I’m coming along.&#160; The next few weeks after that, I have 2 weeks where I run 20 miles.&#160; Wow, just saying that makes me cringe.&#160; I’ve also been focusing on eating better and plan to do some cross training between now and the big day.&#160; So, wish me luck, and I’ll be reporting in on how things are going.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rockybound.wordpress.com/92/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rockybound.wordpress.com/92/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/rockybound.wordpress.com/92/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/rockybound.wordpress.com/92/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/rockybound.wordpress.com/92/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/rockybound.wordpress.com/92/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/rockybound.wordpress.com/92/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/rockybound.wordpress.com/92/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/rockybound.wordpress.com/92/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/rockybound.wordpress.com/92/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/rockybound.wordpress.com/92/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/rockybound.wordpress.com/92/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/rockybound.wordpress.com/92/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/rockybound.wordpress.com/92/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rockybound.wordpress.com&amp;blog=2981539&amp;post=92&amp;subd=rockybound&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://rockybound.wordpress.com/2010/08/20/looking-toward-the-rock-n-roll-marathon-denver/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/73ef2ee4a7ebe918495814448b64d767?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">rockybound</media:title>
		</media:content>
	</item>
		<item>
		<title>Consume a Web Service within a .NET Application Using a Proxy Assembly</title>
		<link>http://rockybound.wordpress.com/2010/06/24/consume-a-web-service-within-a-net-application-using-a-proxy-assembly/</link>
		<comments>http://rockybound.wordpress.com/2010/06/24/consume-a-web-service-within-a-net-application-using-a-proxy-assembly/#comments</comments>
		<pubDate>Fri, 25 Jun 2010 03:14:42 +0000</pubDate>
		<dc:creator>rockybound</dc:creator>
				<category><![CDATA[Application Development]]></category>
		<category><![CDATA[.NET]]></category>
		<category><![CDATA[client]]></category>
		<category><![CDATA[Web Services]]></category>

		<guid isPermaLink="false">https://rockybound.wordpress.com/2010/06/24/consume-a-web-service-within-a-net-application-using-a-proxy-assembly/</guid>
		<description><![CDATA[This short post will give the steps to consume a web service within a .NET application.&#160; I’m working on a project that pulls data from a web service and writes the data to a text file.&#160; The method I used was to create a proxy assembly that I could reference within the project.&#160; To create [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rockybound.wordpress.com&amp;blog=2981539&amp;post=91&amp;subd=rockybound&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This short post will give the steps to consume a web service within a .NET application.&#160; I’m working on a project that pulls data from a web service and writes the data to a text file.&#160; The method I used was to create a proxy assembly that I could reference within the project.&#160; To create this proxy assembly, do the following:</p>
<ol>
<li>Create a project in Visual Studio 2008.&#160; (I used a console app for this.) </li>
<li>Open the Visual Studio Command Line tool.&#160; Change the directory to the directory the new project is held in. </li>
<li>There are two things that you need to do to create the assembly.&#160; First, you must create a class that represents the service and the methods within the service.&#160; Second, you must compile the class into the assembly (dll).&#160; To create the class, first get the URL to the wsdl of the service.&#160; Then, type the following into the command line tool:&#160; wsdl {the url to the wsdl}.&#160; Example – wsdl <a href="http://myservice.data.com/service?wsdl">http://myservice.data.com/service?wsdl</a>.&#160; To create the assembly, type the following:&#160; csc /t:library {name of the class}.cs (assuming you’re using C#).&#160; Example – csc /t:library MyServiceClass.cs. </li>
<li>After the command line steps, you should have the assembly in the directory of your project.&#160; Next, go back to Visual Studio and add a reference to the dll you just created. </li>
<li>Now, you may use the methods that are contained in the web service.&#160; </li>
</ol>
<p>Creating a proxy assembly is an easy way to reference a web service and use the methods within it.&#160; </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rockybound.wordpress.com/91/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rockybound.wordpress.com/91/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/rockybound.wordpress.com/91/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/rockybound.wordpress.com/91/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/rockybound.wordpress.com/91/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/rockybound.wordpress.com/91/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/rockybound.wordpress.com/91/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/rockybound.wordpress.com/91/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/rockybound.wordpress.com/91/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/rockybound.wordpress.com/91/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/rockybound.wordpress.com/91/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/rockybound.wordpress.com/91/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/rockybound.wordpress.com/91/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/rockybound.wordpress.com/91/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rockybound.wordpress.com&amp;blog=2981539&amp;post=91&amp;subd=rockybound&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://rockybound.wordpress.com/2010/06/24/consume-a-web-service-within-a-net-application-using-a-proxy-assembly/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/73ef2ee4a7ebe918495814448b64d767?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">rockybound</media:title>
		</media:content>
	</item>
		<item>
		<title>Silverlight 3 &#8211; Adding Page Transitions to the Navigation Project Template</title>
		<link>http://rockybound.wordpress.com/2009/08/18/silverlight-3-adding-page-transitions-to-the-navigation-project-template/</link>
		<comments>http://rockybound.wordpress.com/2009/08/18/silverlight-3-adding-page-transitions-to-the-navigation-project-template/#comments</comments>
		<pubDate>Tue, 18 Aug 2009 18:47:29 +0000</pubDate>
		<dc:creator>rockybound</dc:creator>
				<category><![CDATA[Application Development]]></category>
		<category><![CDATA[Silverlight]]></category>
		<category><![CDATA[Silverlight 3]]></category>

		<guid isPermaLink="false">http://rockybound.wordpress.com/2009/08/18/silverlight-3-adding-page-transitions-to-the-navigation-project-template/</guid>
		<description><![CDATA[During the past couple weeks, I had the opportunity to work with a client that was interested in putting together an eye-catching web site that would be purely informational in nature.&#160; Knowing that Silverlight 3 has a new project template for navigation, I started poking around the template to see if this could be used.&#160; [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rockybound.wordpress.com&amp;blog=2981539&amp;post=54&amp;subd=rockybound&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>During the past couple weeks, I had the opportunity to work with a client that was interested in putting together an eye-catching web site that would be purely informational in nature.&#160; Knowing that Silverlight 3 has a new project template for navigation, I started poking around the template to see if this could be used.&#160; The client wanted to have a certain “Wow” factor to the web site to separate it out from others in his line of work, so I mentioned that Silverlight is a great technology to look at regarding rich experiences within the UI.&#160; Taking into account the business need for a unique site but still making it informational and professional, I decided to use the new Navigation template and add some page transition animations as well as some custom navigation buttons and other graphics.&#160; This post will cover the technique I used to implement custom page transitions in this client’s web site.</p>
<p>As I usually do, I researched various blog posts, sites and books to determine a good way to modify the navigation template for custom page transitions.&#160; I found a couple sites that helped me tremendously in understanding what controls I would have to implement and modify.&#160; This <a href="http://www.c-sharpcorner.com/UploadFile/dpatra/PageTransitionInNavigtionApplicationInSilverlight307192009103104AM/PageTransitionInNavigtionApplicationInSilverlight3.aspx" target="_blank">blog posting</a> was probably the most helpful.&#160; It gives instruction on how to replace the Content Presenter Control in the navigation frame with a Transitioning Content Control, new in Silverlight 3.&#160; This new control allows you to use 4 built in transition effects if one of them meets your needs, but you also can modify the template to create your own, which is what I did.&#160; <a href="http://silverlight.net/blogs/jesseliberty/" target="_blank">Jesse Liberty</a> has a great <a href="http://silverlight.net/learn/learnvideo.aspx?video=216916" target="_blank">video</a> about the Transitioning Content Control available in the Learn section of the Silverlight.net web site.</p>
<p>So, in the end, we decided to create a site with 5 different “pages” for the user to navigate through.&#160; The transition we thought would give enough impact would be a rotating transition, where the page seems like it’s rotating around an axis giving it a 3D type look.&#160; The current page would rotate half way, then it would be replaced by the new page and then rotate back.&#160; Obviously, this transition is not one of the 4 built in for the control, so I’d have to modify the template to create the effect.&#160; The tools I used to do this were Visual Studio 2008, Expression Blend 3 + SketchFlow (trial version), Silverlight 3 tools and the Silverlight 3 Toolkit, all available <a href="http://silverlight.net/GetStarted/" target="_blank">here</a>.</p>
<p>The following steps will describe the technique used to create this custom page transition.</p>
<p>1)&#160; Open Visual Studio 2008 and create a new Silverlight Navigation Application project.&#160; When asked to create a web project, click OK.</p>
<p><a href="http://rockybound.files.wordpress.com/2009/08/pic1.jpg"><img style="display:inline;border-width:0;" title="Pic1" border="0" alt="Pic1" src="http://rockybound.files.wordpress.com/2009/08/pic1_thumb.jpg?w=550&#038;h=399" width="550" height="399" /></a> </p>
<p>2)&#160; The site should open to the MainPage.xaml page.&#160; If not, open the MainPage.xaml file and find the tag &lt;navigation:Frame….&#160; This is the control we are going to modify to implement the custom transition.</p>
<div>
<div style="line-height:12pt;background-color:#f4f4f4;width:100%;font-family:consolas, &#39;color:black;font-size:8pt;overflow:visible;border-style:none;padding:0;">
<pre style="line-height:12pt;background-color:white;width:100%;font-family:consolas, &#39;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;">   1:</span> <span style="color:#0000ff;">&lt;</span><span style="color:#800000;">Border</span> <span style="color:#ff0000;">x:Name</span><span style="color:#0000ff;">=&quot;ContentBorder&quot;</span> <span style="color:#ff0000;">Style</span><span style="color:#0000ff;">=&quot;{StaticResource ContentBorderStyle}&quot;</span><span style="color:#0000ff;">&gt;</span></pre>
<pre style="line-height:12pt;background-color:#f4f4f4;width:100%;font-family:consolas, &#39;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;">   2:</span>&#160; </pre>
<pre style="line-height:12pt;background-color:white;width:100%;font-family:consolas, &#39;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;">   3:</span>     <span style="color:#0000ff;">&lt;</span><span style="color:#800000;">navigation:Frame</span> <span style="color:#ff0000;">x:Name</span><span style="color:#0000ff;">=&quot;ContentFrame&quot;</span> <span style="color:#ff0000;">Style</span><span style="color:#0000ff;">=&quot;{StaticResource ContentFrameStyle}&quot;</span> </pre>
<pre style="line-height:12pt;background-color:#f4f4f4;width:100%;font-family:consolas, &#39;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;">   4:</span>                       <span style="color:#ff0000;">Source</span><span style="color:#0000ff;">=&quot;/Home&quot;</span> <span style="color:#ff0000;">Navigated</span><span style="color:#0000ff;">=&quot;ContentFrame_Navigated&quot;</span> <span style="color:#ff0000;">NavigationFailed</span><span style="color:#0000ff;">=&quot;ContentFrame_NavigationFailed&quot;</span><span style="color:#0000ff;">&gt;</span></pre>
<pre style="line-height:12pt;background-color:white;width:100%;font-family:consolas, &#39;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;">   5:</span>         <span style="color:#0000ff;">&lt;</span><span style="color:#800000;">navigation:Frame.UriMapper</span><span style="color:#0000ff;">&gt;</span></pre>
<pre style="line-height:12pt;background-color:#f4f4f4;width:100%;font-family:consolas, &#39;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;">   6:</span>           <span style="color:#0000ff;">&lt;</span><span style="color:#800000;">uriMapper:UriMapper</span><span style="color:#0000ff;">&gt;</span></pre>
<pre style="line-height:12pt;background-color:white;width:100%;font-family:consolas, &#39;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;">   7:</span>             <span style="color:#0000ff;">&lt;</span><span style="color:#800000;">uriMapper:UriMapping</span> <span style="color:#ff0000;">Uri</span><span style="color:#0000ff;">=&quot;&quot;</span> <span style="color:#ff0000;">MappedUri</span><span style="color:#0000ff;">=&quot;/Views/Home.xaml&quot;</span><span style="color:#0000ff;">/&gt;</span></pre>
<pre style="line-height:12pt;background-color:#f4f4f4;width:100%;font-family:consolas, &#39;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;">   8:</span>             <span style="color:#0000ff;">&lt;</span><span style="color:#800000;">uriMapper:UriMapping</span> <span style="color:#ff0000;">Uri</span><span style="color:#0000ff;">=&quot;/{pageName}&quot;</span> <span style="color:#ff0000;">MappedUri</span><span style="color:#0000ff;">=&quot;/Views/{pageName}.xaml&quot;</span><span style="color:#0000ff;">/&gt;</span></pre>
<pre style="line-height:12pt;background-color:white;width:100%;font-family:consolas, &#39;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;">   9:</span>           <span style="color:#0000ff;">&lt;/</span><span style="color:#800000;">uriMapper:UriMapper</span><span style="color:#0000ff;">&gt;</span></pre>
<pre style="line-height:12pt;background-color:#f4f4f4;width:100%;font-family:consolas, &#39;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;">  10:</span>         <span style="color:#0000ff;">&lt;/</span><span style="color:#800000;">navigation:Frame.UriMapper</span><span style="color:#0000ff;">&gt;</span></pre>
<pre style="line-height:12pt;background-color:white;width:100%;font-family:consolas, &#39;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;">  11:</span>     <span style="color:#0000ff;">&lt;/</span><span style="color:#800000;">navigation:Frame</span><span style="color:#0000ff;">&gt;</span></pre>
<pre style="line-height:12pt;background-color:#f4f4f4;width:100%;font-family:consolas, &#39;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;">  12:</span> <span style="color:#0000ff;">&lt;/</span><span style="color:#800000;">Border</span><span style="color:#0000ff;">&gt;</span></pre>
</p></div>
</div>
<p>3)&#160; In the Solution Explorer, right click on MainPage.xaml and select “Open in Expression Blend…”.&#160; If not already viewable, click on the Objects and Timeline tab to view the controls on the MainPage.xaml page, as shown below.</p>
<p><a href="http://rockybound.files.wordpress.com/2009/08/pic2.jpg"><img style="display:inline;border-width:0;" title="Pic2" border="0" alt="Pic2" src="http://rockybound.files.wordpress.com/2009/08/pic2_thumb.jpg?w=364&#038;h=233" width="364" height="233" /></a> </p>
<p>3)&#160; You’ll notice that the page contains many controls.&#160; The one we’re concerned about is the ContentFrame control.&#160; Under [UserControl] –&gt; ContentBorder there’s a frame control called ContentFrame.&#160; Right click on this control, hover over Edit Template and select Edit a Copy…</p>
<p>4)&#160; A box called <u>Create ControlTemplate Resource</u> will appear.&#160; In the Name(Key) box, type <u>CustomTransitioningNavFrame</u>.&#160; In the section labeled <u>Define In</u>, select the radio button next to <u>Resource Dictionary</u>.&#160; To the right of the drop down box, click the New button.</p>
<p><a href="http://rockybound.files.wordpress.com/2009/08/pic8.jpg"><img style="display:inline;border-width:0;" title="Pic8" border="0" alt="Pic8" src="http://rockybound.files.wordpress.com/2009/08/pic8_thumb.jpg?w=383&#038;h=222" width="383" height="222" /></a> </p>
<p>5)&#160; Clicking the New button should bring up another box named <u>New Item</u>.&#160; In the Name box, replace the contents with CustomControls.xaml and click OK.&#160; What we’re doing is creating the file that will hold the styles and animation storyboards for a new control based upon the existing control.&#160; This file can also be used in the future to hold any styles and storyboards for additional controls that are customized within the site.&#160; You do have the option of storing this code in the existing page as well.&#160; I decided to do it this way because I believe it’s cleaner and gives you the opportunity to used the code in additional pages throughout the site.</p>
<p>You’ll now notice that the <u>Resource dictionary</u> drop down says CustomControls.xaml.&#160; If not, pull down the drop down and select it.&#160; If it’s not there, repeat step four to create the file.&#160; When finished, click OK.</p>
<p><a href="http://rockybound.files.wordpress.com/2009/08/pic4.jpg"><img style="display:inline;border-width:0;" title="Pic4" border="0" alt="Pic4" src="http://rockybound.files.wordpress.com/2009/08/pic4_thumb.jpg?w=388&#038;h=420" width="388" height="420" /></a> </p>
<p>6)&#160; When you click OK, you’ll be taken back to the Expression UI and will notice there is a black rectangle with “Frame” in the upper left corner (or somewhere within the rectangle).&#160; In the <u>Objects and Timelines</u> tab, you should see ControlTemplate –&gt; [Border] –&gt; [ContentPresenter].&#160; The Border and the ContentPresenter make up the structure of the navigation frame.&#160; What we want to do now to implement a page transition is to replace the ContentPresenter control with a TransitioningContentPresenter control.&#160; This control is available in the System.Windows.Controls.Layout.Toolkit.dll assembly.</p>
<p>Right click on the [ContentPresenter] control in the <u>Objects and Timelines</u> tab and click Delete.&#160; Click once on the [Border] control to highlight it.&#160; In the rectangle, you should see an arrow pointing down and to the right.&#160; Click and drag this arrow all the way out to the border of the rectangle.</p>
<p><a href="http://rockybound.files.wordpress.com/2009/08/pic5.jpg"><img style="display:inline;border-width:0;" title="Pic5" border="0" alt="Pic5" src="http://rockybound.files.wordpress.com/2009/08/pic5_thumb.jpg?w=490&#038;h=224" width="490" height="224" /></a> </p>
<p>7)&#160; Click the [Border] control once to highlight it.&#160; To the left of the Expression Blend window, you should see the toolbox with the various controls available.&#160; On the bottom of the tool box, you should see a button with two arrow-like shapes pointing to the right.&#160; If you hover over this button, it should say Assets.&#160; Click on the Assets button.&#160; You’ll now see a menu-type list on the left side of the box that opens, as well as control names on the right.&#160; At the bottom of the list on the left, you’ll see an option called Locations, with an arrow to the left of it.&#160; Click this arrow.&#160; You’ll then see (eventually – it may take a while to load them) a list of DLL names.&#160; This list of assemblies will load and eventually you should see an assembly named <strong>System.Windows.Controls.Layout.Toolkit.dll</strong>.&#160; Once you click on this assembly, a group of controls will appear to the right.&#160; One of them should be the <strong>Transitioning Content Presenter</strong> control.&#160; Double click this control – you should then see the control’s icon appear under the Assets button.&#160; Double click on the icon to insert the control under the Border control in its default size, which should stretch the control to the dimensions of the border.</p>
<p><a href="http://rockybound.files.wordpress.com/2009/08/pic6.jpg"><img style="display:inline;border-width:0;" title="Pic6" border="0" alt="Pic6" src="http://rockybound.files.wordpress.com/2009/08/pic6_thumb.jpg?w=462&#038;h=398" width="462" height="398" /></a>&#160;<a href="http://rockybound.files.wordpress.com/2009/08/pic7.jpg"><img style="display:inline;border-width:0;" title="Pic7" border="0" alt="Pic7" src="http://rockybound.files.wordpress.com/2009/08/pic7_thumb.jpg?w=369&#038;h=188" width="369" height="188" /></a> </p>
</p>
<p>8)&#160; So, at this point we’ve replaced the ContentPresenter control with the TransitioningContentPresenter control.&#160; If you didn’t want to create a custom transition and wanted to use one of the built in transitions of the control, you could stop here.&#160; All you’d have to do is modify the xaml of the control and set the Transition attribute of the control to one of the four existing transitions (which are DefaultTransition, Normal, UpTransition and DownTransition) and set the Content attribute to {TemplateBinding Content}.&#160; But, we wanted another type of transition, so now we must edit the template of the TransitioningContentPresenter to create a new transition and set some values so that it works the way we want.</p>
<p>Right click the [TransitioningContentControl] and select Edit Template –&gt; Edit a copy….&#160; In the <strong>Create Style Resource</strong> box that opens, under Name(Key), type <strong>CustomTransitioningContentCtrl</strong>.&#160; Under the Define In section, select the radio button next to Resource dictionary and in the drop down box, select <strong>CustomControls</strong>.&#160; This will ensure that the styles and storyboards we’re going to create will be kept in this file.&#160; Click OK.</p>
<p><a href="http://rockybound.files.wordpress.com/2009/08/pic81.jpg"><img style="display:inline;border-width:0;" title="Pic8" border="0" alt="Pic8" src="http://rockybound.files.wordpress.com/2009/08/pic8_thumb1.jpg?w=475&#038;h=277" width="475" height="277" /></a>&#160;</p>
<p>9)&#160; You’ll now notice that under the <u>Objects and Timelines</u> tab under the Template heading, you have [Border] –&gt; [Grid] –&gt; PreviousContentPresentationSite and CurrentContentPresentationSite.&#160; The Previous and Current controls are Content Presenter controls that make up the Transitioning Content Presentation control.&#160; These controls represent the content (or “page”, in this case) that was being displayed previous to the transition being implemented and the content that will be displayed after the transition is complete.&#160; These two content presenters are the key players in the Transitioning Content Control and will be what the animations and storyboards will be manipulating during the transitions.</p>
<p>We have to make a couple changes to these two content presenters to get them to act the way we want them to.&#160; These changes need to be done the same way to both content presenters.&#160; First, we have to resize the Grid and center both presenters in the Grid.&#160; Second, we have to set the center points of each presenter so that the will rotate around the middle of themselves when we implement the transition.</p>
<p>For the first change, click on the Grid control under <u>Objects and Timelines</u>.&#160; In the design window, drag the lower right corner of the grid to lower right corner of the black rectangle.&#160; Doing this will statically set the dimensions of the grid.&#160; Now, under <u>Objects and Timelines</u>, click on the PreviousContentPresentationSite control.&#160; On the right side of Expression Blend, you should see the Properties tab.&#160; If <u>Layouts</u> is not expanded, go ahead and expand it.&#160; At this point, you’ll notice that there is an orange border around the Horizontal Alignment and Vertical Alignment options.&#160; These borders indicate that these settings are fixed in the control, but we can manipulate them by changing it to a local value.&#160; To do this, click within the Horizontal Alignment border.&#160; A menu will pop up and you should see the option <u>Convert to Local Value</u>.&#160; Click that option and the orange border will disappear.&#160; Do the same for the Vertical Alignment option.&#160; Go ahead and click the <u>Center</u> option in both the Vertical and Horizontal sections (should be the second one from the left).&#160; The content will now appear in the center of the grid for both the Previous and Current content presenters.</p>
<p><a href="http://rockybound.files.wordpress.com/2009/08/pic9.jpg"><img style="display:inline;border-width:0;" title="Pic9" border="0" alt="Pic9" src="http://rockybound.files.wordpress.com/2009/08/pic9_thumb.jpg?w=260&#038;h=437" width="260" height="437" /></a> <a href="http://rockybound.files.wordpress.com/2009/08/pic10.jpg"><img style="display:inline;border-width:0;" title="Pic10" border="0" alt="Pic10" src="http://rockybound.files.wordpress.com/2009/08/pic10_thumb.jpg?w=548&#038;h=387" width="548" height="387" /></a> </p>
<p>10)&#160; The next step is to set the center point of each Content Presenter.&#160; To do this, select the PreviousContentPresentationSite content presenter by clicking it once in the <u>Objects and Timelines</u> tab.&#160; Go to the <u>Properties</u> tab to the right of the designer and expand the <u>Transform</u> section.&#160; Within the Transform section, you’ll see <u>Render Transform</u> and <u>Projection</u> areas.&#160; Under Projection, there are 4 tabs.&#160; The second tab should be <u>Center of Rotation</u>.&#160; Click on this tab and you’ll see boxes with X, Y and Z next to them, which are probably filled with 0s.&#160; Change the 0s to 0.5 for all three boxes.&#160; Doing this will set the center of rotation directly in the middle of the content presenter control you’re working with.&#160; Repeat these steps for the CurrentContentPresentationSite content presenter.</p>
<p><a href="http://rockybound.files.wordpress.com/2009/08/pic11.jpg"><img style="display:inline;border-width:0;" title="Pic11" border="0" alt="Pic11" src="http://rockybound.files.wordpress.com/2009/08/pic11_thumb.jpg?w=328&#038;h=329" width="328" height="329" /></a> </p>
</p>
<p>11)&#160; We still have to make sure that our content presenters show the content of the pages we want to display.&#160; To do this, select the PreviousContentPresentationSite content presenter by clicking it once in the <u>Objects and Timelines</u> tab.&#160; Again in the <u>Properties</u> section, find the <u>Common Properties</u> area.&#160; Within this area, there’s a Content box which has a small white square to the right of it.&#160; Click on this square and you’ll see a menu come up called Content with an option for <u>Template Binding</u>.&#160; Hover over this option and another menu will come up.&#160; Find the <u>Content</u> option and click it.&#160; This tells the control to look to the Content template for the content of the control.&#160; Do the same thing with the CurrentContentPresentationSite content presenter.</p>
<p>We also have to set the navigation frame control that contains the Transitioning Content Control to get its content from the same template binding setting.&#160; To do this, close the CustomControls.xaml file and return to the MainPage.xaml file.&#160; Right click again on the ContentFrame control under the ContentBorder control and hover over <u>Edit Template…</u> and select <u>Edit Current</u>.&#160; You’ll again see the [TransitioningContentControl] under the [Border] control (look familiar?).&#160; Follow the steps above to change the content to read from the TemplateBinding content setting for this control.&#160; When finished, right click on the [TransitioningContentControl] control, hover over Edit Template… and select Edit Current to go back to the contents of the Transitioning Content Control.</p>
<p><a href="http://rockybound.files.wordpress.com/2009/08/pic12.jpg"><img style="display:inline;border-width:0;" title="Pic12" border="0" alt="Pic12" src="http://rockybound.files.wordpress.com/2009/08/pic12_thumb.jpg?w=240&#038;h=363" width="240" height="363" /></a> </p>
<p>12)&#160; We have now prepared our Transitioning Content Control and its parts for the animation we want.&#160; The next thing to do is to create the visual state for the effect we want.&#160; Showing exactly how to do this in Blend using the Timeline would take a lot of time, so I think it’s better just to give you the code to implement it.&#160; If you open the CustomControls.xaml file in xaml view, you’ll see the Visual States that are built into the Transitioning Content Control – DefaultTransition, Normal, UpTransition and DownTransition.&#160;&#160; Find the closing tag of the DownTransition visual state (&lt;/VisualState&gt;).&#160; Position your cursor at the end of this tag and press enter on the keyboard.&#160; Copy and paste in the following code:</p>
<div style="border-bottom:gray 1px solid;border-left:gray 1px solid;line-height:12pt;background-color:#f4f4f4;width:97.5%;font-family:consolas, &#39;height:270px;max-height:200px;font-size:8pt;overflow:auto;border-top:gray 1px solid;cursor:text;border-right:gray 1px solid;margin:20px 0 10px;padding:4px;">
<div style="line-height:12pt;background-color:#f4f4f4;width:100%;font-family:consolas, &#39;color:black;font-size:8pt;overflow:visible;border-style:none;padding:0;">
<pre style="line-height:12pt;background-color:white;width:100%;font-family:consolas, &#39;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#0000ff;">&lt;</span><span style="color:#800000;">VisualState</span> <span style="color:#ff0000;">x:Name</span><span style="color:#0000ff;">=&quot;Flipper&quot;</span><span style="color:#0000ff;">&gt;</span></pre>
<pre style="line-height:12pt;background-color:#f4f4f4;width:100%;font-family:consolas, &#39;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;">    <span style="color:#0000ff;">&lt;</span><span style="color:#800000;">Storyboard</span><span style="color:#0000ff;">&gt;</span></pre>
<pre style="line-height:12pt;background-color:white;width:100%;font-family:consolas, &#39;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;">        <span style="color:#0000ff;">&lt;</span><span style="color:#800000;">DoubleAnimationUsingKeyFrames</span> <span style="color:#ff0000;">BeginTime</span><span style="color:#0000ff;">=&quot;00:00:00&quot;</span> <span style="color:#ff0000;">Storyboard</span>.<span style="color:#ff0000;">TargetName</span><span style="color:#0000ff;">=&quot;CurrentContentPresentationSite&quot;</span> <span style="color:#ff0000;">Storyboard</span>.<span style="color:#ff0000;">TargetProperty</span><span style="color:#0000ff;">=&quot;(UIElement.Opacity)&quot;</span><span style="color:#0000ff;">&gt;</span></pre>
<pre style="line-height:12pt;background-color:#f4f4f4;width:100%;font-family:consolas, &#39;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;">            <span style="color:#0000ff;">&lt;</span><span style="color:#800000;">EasingDoubleKeyFrame</span> <span style="color:#ff0000;">KeyTime</span><span style="color:#0000ff;">=&quot;00:00:00&quot;</span> <span style="color:#ff0000;">Value</span><span style="color:#0000ff;">=&quot;0&quot;</span><span style="color:#0000ff;">/&gt;</span></pre>
<pre style="line-height:12pt;background-color:white;width:100%;font-family:consolas, &#39;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;">            <span style="color:#0000ff;">&lt;</span><span style="color:#800000;">EasingDoubleKeyFrame</span> <span style="color:#ff0000;">KeyTime</span><span style="color:#0000ff;">=&quot;00:00:00.9000000&quot;</span> <span style="color:#ff0000;">Value</span><span style="color:#0000ff;">=&quot;0&quot;</span><span style="color:#0000ff;">/&gt;</span></pre>
<pre style="line-height:12pt;background-color:#f4f4f4;width:100%;font-family:consolas, &#39;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;">            <span style="color:#0000ff;">&lt;</span><span style="color:#800000;">EasingDoubleKeyFrame</span> <span style="color:#ff0000;">KeyTime</span><span style="color:#0000ff;">=&quot;00:00:01&quot;</span> <span style="color:#ff0000;">Value</span><span style="color:#0000ff;">=&quot;1&quot;</span><span style="color:#0000ff;">/&gt;</span></pre>
<pre style="line-height:12pt;background-color:white;width:100%;font-family:consolas, &#39;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;">        <span style="color:#0000ff;">&lt;/</span><span style="color:#800000;">DoubleAnimationUsingKeyFrames</span><span style="color:#0000ff;">&gt;</span></pre>
<pre style="line-height:12pt;background-color:#f4f4f4;width:100%;font-family:consolas, &#39;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;">        <span style="color:#0000ff;">&lt;</span><span style="color:#800000;">DoubleAnimationUsingKeyFrames</span> <span style="color:#ff0000;">BeginTime</span><span style="color:#0000ff;">=&quot;00:00:00&quot;</span> <span style="color:#ff0000;">Storyboard</span>.<span style="color:#ff0000;">TargetName</span><span style="color:#0000ff;">=&quot;PreviousContentPresentationSite&quot;</span> <span style="color:#ff0000;">Storyboard</span>.<span style="color:#ff0000;">TargetProperty</span><span style="color:#0000ff;">=&quot;(UIElement.Projection).(PlaneProjection.RotationY)&quot;</span><span style="color:#0000ff;">&gt;</span></pre>
<pre style="line-height:12pt;background-color:white;width:100%;font-family:consolas, &#39;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;">            <span style="color:#0000ff;">&lt;</span><span style="color:#800000;">EasingDoubleKeyFrame</span> <span style="color:#ff0000;">KeyTime</span><span style="color:#0000ff;">=&quot;00:00:00&quot;</span> <span style="color:#ff0000;">Value</span><span style="color:#0000ff;">=&quot;0&quot;</span><span style="color:#0000ff;">/&gt;</span></pre>
<pre style="line-height:12pt;background-color:#f4f4f4;width:100%;font-family:consolas, &#39;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;">            <span style="color:#0000ff;">&lt;</span><span style="color:#800000;">EasingDoubleKeyFrame</span> <span style="color:#ff0000;">KeyTime</span><span style="color:#0000ff;">=&quot;00:00:01&quot;</span> <span style="color:#ff0000;">Value</span><span style="color:#0000ff;">=&quot;90&quot;</span><span style="color:#0000ff;">/&gt;</span></pre>
<pre style="line-height:12pt;background-color:white;width:100%;font-family:consolas, &#39;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;">        <span style="color:#0000ff;">&lt;/</span><span style="color:#800000;">DoubleAnimationUsingKeyFrames</span><span style="color:#0000ff;">&gt;</span></pre>
<pre style="line-height:12pt;background-color:#f4f4f4;width:100%;font-family:consolas, &#39;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;">        <span style="color:#0000ff;">&lt;</span><span style="color:#800000;">DoubleAnimationUsingKeyFrames</span> <span style="color:#ff0000;">BeginTime</span><span style="color:#0000ff;">=&quot;00:00:00&quot;</span> <span style="color:#ff0000;">Storyboard</span>.<span style="color:#ff0000;">TargetName</span><span style="color:#0000ff;">=&quot;CurrentContentPresentationSite&quot;</span> <span style="color:#ff0000;">Storyboard</span>.<span style="color:#ff0000;">TargetProperty</span><span style="color:#0000ff;">=&quot;(UIElement.Projection).(PlaneProjection.RotationY)&quot;</span><span style="color:#0000ff;">&gt;</span></pre>
<pre style="line-height:12pt;background-color:white;width:100%;font-family:consolas, &#39;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;">            <span style="color:#0000ff;">&lt;</span><span style="color:#800000;">EasingDoubleKeyFrame</span> <span style="color:#ff0000;">KeyTime</span><span style="color:#0000ff;">=&quot;00:00:01&quot;</span> <span style="color:#ff0000;">Value</span><span style="color:#0000ff;">=&quot;-90&quot;</span><span style="color:#0000ff;">/&gt;</span></pre>
<pre style="line-height:12pt;background-color:#f4f4f4;width:100%;font-family:consolas, &#39;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;">            <span style="color:#0000ff;">&lt;</span><span style="color:#800000;">EasingDoubleKeyFrame</span> <span style="color:#ff0000;">KeyTime</span><span style="color:#0000ff;">=&quot;00:00:02&quot;</span> <span style="color:#ff0000;">Value</span><span style="color:#0000ff;">=&quot;0&quot;</span><span style="color:#0000ff;">/&gt;</span></pre>
<pre style="line-height:12pt;background-color:white;width:100%;font-family:consolas, &#39;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;">        <span style="color:#0000ff;">&lt;/</span><span style="color:#800000;">DoubleAnimationUsingKeyFrames</span><span style="color:#0000ff;">&gt;</span></pre>
<pre style="line-height:12pt;background-color:#f4f4f4;width:100%;font-family:consolas, &#39;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;">    <span style="color:#0000ff;">&lt;/</span><span style="color:#800000;">Storyboard</span><span style="color:#0000ff;">&gt;</span></pre>
<pre style="line-height:12pt;background-color:white;width:100%;font-family:consolas, &#39;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#0000ff;">&lt;/</span><span style="color:#800000;">VisualState</span><span style="color:#0000ff;">&gt;</span></pre>
</p></div>
</div>
<p>Now, find the Control Template tag that defines the navigation frame.&#160; Within this tag, you should see the TransitioningContentControl tag defining the control.&#160; Add an attribute to the tag after the Style attribute for the Transition type and give it a value of “Flipper”.&#160; It should look like this:</p>
<div>
<div style="line-height:12pt;background-color:#f4f4f4;width:100%;font-family:consolas, &#39;color:black;font-size:8pt;overflow:visible;border-style:none;padding:0;">
<pre style="line-height:12pt;background-color:white;width:100%;font-family:consolas, &#39;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#008000;">&lt;!-- Resource dictionary entries should be defined here. --&gt;</span></pre>
<pre style="line-height:12pt;background-color:#f4f4f4;width:100%;font-family:consolas, &#39;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#0000ff;">&lt;</span><span style="color:#800000;">ControlTemplate</span> <span style="color:#ff0000;">x:Key</span><span style="color:#0000ff;">=&quot;NavFrame&quot;</span> <span style="color:#ff0000;">TargetType</span><span style="color:#0000ff;">=&quot;navigation:Frame&quot;</span><span style="color:#0000ff;">&gt;</span></pre>
<pre style="line-height:12pt;background-color:white;width:100%;font-family:consolas, &#39;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;">    <span style="color:#0000ff;">&lt;</span><span style="color:#800000;">Border</span> <span style="color:#ff0000;">Background</span><span style="color:#0000ff;">=&quot;{TemplateBinding Background}&quot;</span></pre>
<pre style="line-height:12pt;background-color:#f4f4f4;width:100%;font-family:consolas, &#39;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;">        <span style="color:#ff0000;">BorderBrush</span><span style="color:#0000ff;">=&quot;{TemplateBinding BorderBrush}&quot;</span></pre>
<pre style="line-height:12pt;background-color:white;width:100%;font-family:consolas, &#39;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;">        <span style="color:#ff0000;">BorderThickness</span><span style="color:#0000ff;">=&quot;{TemplateBinding BorderThickness}&quot;</span></pre>
<pre style="line-height:12pt;background-color:#f4f4f4;width:100%;font-family:consolas, &#39;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;">        <span style="color:#ff0000;">HorizontalAlignment</span><span style="color:#0000ff;">=&quot;{TemplateBinding HorizontalContentAlignment}&quot;</span></pre>
<pre style="line-height:12pt;background-color:white;width:100%;font-family:consolas, &#39;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;">        <span style="color:#ff0000;">VerticalAlignment</span><span style="color:#0000ff;">=&quot;{TemplateBinding VerticalContentAlignment}&quot;</span> <span style="color:#ff0000;">d:DesignWidth</span><span style="color:#0000ff;">=&quot;639&quot;</span> <span style="color:#ff0000;">d:DesignHeight</span><span style="color:#0000ff;">=&quot;432&quot;</span><span style="color:#0000ff;">&gt;</span></pre>
<pre style="line-height:12pt;background-color:#f4f4f4;width:100%;font-family:consolas, &#39;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;">        <span style="color:#0000ff;">&lt;</span><span style="color:#800000;">layoutToolkit:TransitioningContentControl</span> </pre>
<pre style="line-height:12pt;background-color:white;width:100%;font-family:consolas, &#39;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;">            <span style="color:#ff0000;">Content</span><span style="color:#0000ff;">=&quot;{TemplateBinding Content}&quot;</span> </pre>
<pre style="line-height:12pt;background-color:#f4f4f4;width:100%;font-family:consolas, &#39;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;">            <span style="color:#ff0000;">Style</span><span style="color:#0000ff;">=&quot;{StaticResource TCCCustom}&quot;</span></pre>
<pre style="line-height:12pt;background-color:white;width:100%;font-family:consolas, &#39;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;">            <span style="color:#ff0000;">Transition</span><span style="color:#0000ff;">=&quot;Flipper&quot;</span><span style="color:#0000ff;">/&gt;</span></pre>
<pre style="line-height:12pt;background-color:#f4f4f4;width:100%;font-family:consolas, &#39;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;">    <span style="color:#0000ff;">&lt;/</span><span style="color:#800000;">Border</span><span style="color:#0000ff;">&gt;</span></pre>
<pre style="line-height:12pt;background-color:white;width:100%;font-family:consolas, &#39;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#0000ff;">&lt;/</span><span style="color:#800000;">ControlTemplate</span><span style="color:#0000ff;">&gt;</span></pre>
</p></div>
</div>
<p>Save and close the file.&#160; Switch back to Visual Studio and accept the changes if it asks.&#160; Go ahead and press F5 to run the application.&#160; You should see the content of the pages flip one way then flip back with the content of the new page.</p>
<p>This is the technique I used to create a customized page transition for use within the Navigation Project template for Silverlight 3.&#160; There are many other types of transitions you can implement and play around with, so I hope this has given you a look into what’s possible for this type of animation.&#160; In my next post, I’ll go over how I created an animation for displaying a life cycle type graphic using Expression Design and Expression Blend.&#160; Hope you found this useful!&#160; Thanks for reading!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rockybound.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rockybound.wordpress.com/54/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/rockybound.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/rockybound.wordpress.com/54/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/rockybound.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/rockybound.wordpress.com/54/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/rockybound.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/rockybound.wordpress.com/54/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/rockybound.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/rockybound.wordpress.com/54/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/rockybound.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/rockybound.wordpress.com/54/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/rockybound.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/rockybound.wordpress.com/54/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rockybound.wordpress.com&amp;blog=2981539&amp;post=54&amp;subd=rockybound&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://rockybound.wordpress.com/2009/08/18/silverlight-3-adding-page-transitions-to-the-navigation-project-template/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/73ef2ee4a7ebe918495814448b64d767?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">rockybound</media:title>
		</media:content>

		<media:content url="http://rockybound.files.wordpress.com/2009/08/pic1_thumb.jpg" medium="image">
			<media:title type="html">Pic1</media:title>
		</media:content>

		<media:content url="http://rockybound.files.wordpress.com/2009/08/pic2_thumb.jpg" medium="image">
			<media:title type="html">Pic2</media:title>
		</media:content>

		<media:content url="http://rockybound.files.wordpress.com/2009/08/pic8_thumb.jpg" medium="image">
			<media:title type="html">Pic8</media:title>
		</media:content>

		<media:content url="http://rockybound.files.wordpress.com/2009/08/pic4_thumb.jpg" medium="image">
			<media:title type="html">Pic4</media:title>
		</media:content>

		<media:content url="http://rockybound.files.wordpress.com/2009/08/pic5_thumb.jpg" medium="image">
			<media:title type="html">Pic5</media:title>
		</media:content>

		<media:content url="http://rockybound.files.wordpress.com/2009/08/pic6_thumb.jpg" medium="image">
			<media:title type="html">Pic6</media:title>
		</media:content>

		<media:content url="http://rockybound.files.wordpress.com/2009/08/pic7_thumb.jpg" medium="image">
			<media:title type="html">Pic7</media:title>
		</media:content>

		<media:content url="http://rockybound.files.wordpress.com/2009/08/pic8_thumb1.jpg" medium="image">
			<media:title type="html">Pic8</media:title>
		</media:content>

		<media:content url="http://rockybound.files.wordpress.com/2009/08/pic9_thumb.jpg" medium="image">
			<media:title type="html">Pic9</media:title>
		</media:content>

		<media:content url="http://rockybound.files.wordpress.com/2009/08/pic10_thumb.jpg" medium="image">
			<media:title type="html">Pic10</media:title>
		</media:content>

		<media:content url="http://rockybound.files.wordpress.com/2009/08/pic11_thumb.jpg" medium="image">
			<media:title type="html">Pic11</media:title>
		</media:content>

		<media:content url="http://rockybound.files.wordpress.com/2009/08/pic12_thumb.jpg" medium="image">
			<media:title type="html">Pic12</media:title>
		</media:content>
	</item>
		<item>
		<title>.NET 3.5 SP1 &#8211; Action Attribute in the Form Element of an ASP.NET Page</title>
		<link>http://rockybound.wordpress.com/2009/02/27/net-35-sp1-action-attribute-in-the-form-element-of-an-aspnet-page/</link>
		<comments>http://rockybound.wordpress.com/2009/02/27/net-35-sp1-action-attribute-in-the-form-element-of-an-aspnet-page/#comments</comments>
		<pubDate>Fri, 27 Feb 2009 20:04:37 +0000</pubDate>
		<dc:creator>rockybound</dc:creator>
				<category><![CDATA[Application Development]]></category>
		<category><![CDATA[SharePoint]]></category>

		<guid isPermaLink="false">http://rockybound.wordpress.com/2009/02/27/net-35-sp1-action-attribute-in-the-form-element-of-an-aspnet-page/</guid>
		<description><![CDATA[I was recently brought into a SharePoint project to help fix some bugs and generally be there as an extra resource while the team prepared for various “go live” dates.&#160; One issue we were having was a failure to post form data to another web site for an automated login of sorts.&#160; From within SharePoint, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rockybound.wordpress.com&amp;blog=2981539&amp;post=27&amp;subd=rockybound&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I was recently brought into a SharePoint project to help fix some bugs and generally be there as an extra resource while the team prepared for various “go live” dates.&#160; One issue we were having was a failure to post form data to another web site for an automated login of sorts.&#160; From within SharePoint, a link was created that would direct the user to an ASP.NET page, gather information and manipulate it from the user’s profile, determine which site the user wanted to go to and then submit the data to the site for an automatic login.&#160; Easy enough, right?&#160; Except it had one catch – when the “redirector” page submitted the form data to the site, it wouldn’t post to the target site.&#160; Now, this problem occurred when the necessary files were deployed to the dev environment.&#160; It worked very well on our individual development machines.&#160; Why was this happening?</p>
<p>After some research, I found a couple articles <a href="https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=361981&amp;wa=wsignin1.0" target="_blank">here</a> and <a href="http://stackoverflow.com/questions/292756/how-to-prevent-asp-net-3-5-sp1-from-overriding-my-action" target="_blank">here</a> that outline an issue that is solved by installing .NET 3.5 SP1.&#160; From my understanding, from .NET 1.1 through 3.5, if you put a URL value in the Action attribute of the ASP.NET form, the code was ignored by the framework and posted back to itself.&#160; Unlike the days of classic ASP where you could define the POST event, .NET adopted the model of single post back.&#160; This means that regardless of the URL you specify in the Action attribute of the form tag, the page will always post back to itself, rendering the Action attribute useless and dead.&#160; You’d have to use the Response.Redirect method or the Server.Transfer method (under certain circumstances) to get to another page.&#160; Unfortunately, this didn’t actually post the data in the form – it just redirected the user to the new page, without logging the user in.&#160; (Server.Transfer would probably work if you were posting to a site on the same server, but in this case we were not.)</p>
<pre>
<pre style="font-size:12px;width:100%;font-family:consolas,&#39;background-color:#ffffff;margin:0;"><span style="color:#0000ff;">&lt;</span><span style="color:#800000;">form</span> <span style="color:#ff0000;">id</span>=<span style="color:#0000ff;">&quot;form1&quot;</span> <span style="color:#ff0000;">runat</span>=<span style="color:#0000ff;">&quot;server&quot;</span> <span style="color:#ff0000;">action</span>=<span style="color:#0000ff;">&quot;http://www.myurl.com&quot;</span><span style="color:#0000ff;">&gt;</span><span style="color:#0000ff;">&lt;/</span><span style="color:#800000;">form</span><span style="color:#0000ff;">&gt;</span></pre>
</pre>
<p>With the release and implementation of SP1 for .NET 3.5, this issue has been addressed.&#160; You can now enter a URL to post to in the Action attribute and then use the submit() from within a RegisterStartupScript call to submit the form data to the target URL.</p>
<pre>
<pre style="font-size:12px;width:100%;font-family:consolas,&#39;background-color:#ffffff;margin:0;">ScriptManager.RegisterStartupScript(<span style="color:#0000ff;">this</span>.Page, <span style="color:#0000ff;">this</span>.Page.GetType(), &quot;<span style="color:#8b0000;">myScript</span>&quot;, &quot;<span style="color:#8b0000;">document.forms.form1.submit();</span>&quot;, <span style="color:#0000ff;">true</span>);</pre>
</pre>
<p>So, if you ever have to post data to another web site for anything, this is an easy method.&#160; Just make sure the server the code is running on has .NET 3.5 SP1 installed and you shouldn’t have the problem we did.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rockybound.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rockybound.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/rockybound.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/rockybound.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/rockybound.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/rockybound.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/rockybound.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/rockybound.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/rockybound.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/rockybound.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/rockybound.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/rockybound.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/rockybound.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/rockybound.wordpress.com/27/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rockybound.wordpress.com&amp;blog=2981539&amp;post=27&amp;subd=rockybound&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://rockybound.wordpress.com/2009/02/27/net-35-sp1-action-attribute-in-the-form-element-of-an-aspnet-page/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/73ef2ee4a7ebe918495814448b64d767?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">rockybound</media:title>
		</media:content>
	</item>
		<item>
		<title>Custom Client Installation Experience for Silverlight 2 SharePoint Web Part</title>
		<link>http://rockybound.wordpress.com/2009/01/22/custom-client-installation-experience-for-silverlight-2-sharepoint-web-part/</link>
		<comments>http://rockybound.wordpress.com/2009/01/22/custom-client-installation-experience-for-silverlight-2-sharepoint-web-part/#comments</comments>
		<pubDate>Thu, 22 Jan 2009 20:46:04 +0000</pubDate>
		<dc:creator>rockybound</dc:creator>
				<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[Silverlight]]></category>
		<category><![CDATA[client]]></category>
		<category><![CDATA[MOSS]]></category>
		<category><![CDATA[MOSS 2007]]></category>
		<category><![CDATA[Silverlight 2]]></category>
		<category><![CDATA[Web Part]]></category>

		<guid isPermaLink="false">http://rockybound.wordpress.com/2009/01/22/custom-client-installation-experience-for-silverlight-2-sharepoint-web-part/</guid>
		<description><![CDATA[I was recently tasked with creating a demonstration for a company that involved creating a video player to place into a SharePoint Web Part.&#160; The end result turned out to be very nice and was based upon the Silverlight SharePoint Blueprint project on CodePlex.&#160; I did modify the player to add functionality for play, pause, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rockybound.wordpress.com&amp;blog=2981539&amp;post=20&amp;subd=rockybound&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I was recently tasked with creating a demonstration for a company that involved creating a video player to place into a SharePoint Web Part.&#160; The end result turned out to be very nice and was based upon the <a href="http://www.codeplex.com/SL4SP/Release/ProjectReleases.aspx?ReleaseId=16420" target="_blank">Silverlight SharePoint Blueprint</a> project on CodePlex.&#160; I did modify the player to add functionality for play, pause, stop and volume controls, as well as a <a href="http://www.85turns.com/2008/09/09/video-slider-control/" target="_blank">video slider</a> I found that works very well.&#160; I’d like to compliment the folks on the Blueprint team for their results – it’s really a great starting point for a customized Silverlight and SharePoint solution.&#160; Just a note – I believe the Blueprint still uses the Beta 2 version of Silverlight, so be aware of the break-changes relating to that if you decide to implement any of the controls.</p>
<p>After the player was created, I started thinking about the situation that would arise when the user didn’t have Silverlight installed on their machine.&#160; We all know the standard image and link that is displayed when this is the case.&#160; <a href="http://timheuer.com" target="_blank">Tim Heuer</a> has a great <a href="http://silverlight.net/learn/learnvideo.aspx?video=57016" target="_blank">video</a> on how to customize the installation experience for pure Silverlight applications, but I wondered how that would apply to a SharePoint Web Part.&#160; After scouring the internet and a couple of emails to Tim regarding this caveat, I figured it out.&#160; Of course, like most things that take me a while to figure out, it’s actually quite simple. &quot;:)</p>
<p>What the web part was doing was declaring an ASP.NET Silverlight control and setting the properties to it in the Web Part’s CreateChildControls overridden method.&#160; The basic, necessary attributes of the control were then set (ID, Version and Source in this case) , excluding the PluginNotInstalledTemplate property.&#160; Without setting the content of this property, the default image/link appears for the client by default.&#160; Example is below:</p>
<div>
<div style="font-size:8pt;overflow:visible;width:100%;color:black;line-height:12pt;font-family:consolas, &#39;background-color:#f4f4f4;border-style:none;padding:0;">
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;line-height:12pt;font-family:consolas, &#39;background-color:white;border-style:none;margin:0;padding:0;"><span style="color:#606060;">   1:</span> <span style="color:#008000;">// instantiation of the silverlight control</span></pre>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;line-height:12pt;font-family:consolas, &#39;background-color:#f4f4f4;border-style:none;margin:0;padding:0;"><span style="color:#606060;">   2:</span> System.Web.UI.SilverlightControls.Silverlight silverlightControl = <span style="color:#0000ff;">new</span> System.Web.UI.SilverlightControls.Silverlight();</pre>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;line-height:12pt;font-family:consolas, &#39;background-color:white;border-style:none;margin:0;padding:0;"><span style="color:#606060;">   3:</span> silverlightControl.ID = <span style="color:#006080;">&quot;MediaViewerBeta2&quot;</span>;</pre>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;line-height:12pt;font-family:consolas, &#39;background-color:#f4f4f4;border-style:none;margin:0;padding:0;"><span style="color:#606060;">   4:</span> silverlightControl.MinimumVersion = <span style="color:#006080;">&quot;2.0.30523&quot;</span>;</pre>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;line-height:12pt;font-family:consolas, &#39;background-color:white;border-style:none;margin:0;padding:0;"><span style="color:#606060;">   5:</span> silverlightControl.Source = <span style="color:#006080;">&quot;/ClientBin/XAP/SLSP_MediaViewer.xap&quot;</span>;</pre>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;line-height:12pt;font-family:consolas, &#39;background-color:#f4f4f4;border-style:none;margin:0;padding:0;"><span style="color:#606060;">   6:</span>&#160; </pre>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;line-height:12pt;font-family:consolas, &#39;background-color:white;border-style:none;margin:0;padding:0;"><span style="color:#606060;">   7:</span> <span style="color:#008000;">// Define the width and height based on the webpart height</span></pre>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;line-height:12pt;font-family:consolas, &#39;background-color:#f4f4f4;border-style:none;margin:0;padding:0;"><span style="color:#606060;">   8:</span> Unit height = <span style="color:#0000ff;">new</span> Unit(425);</pre>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;line-height:12pt;font-family:consolas, &#39;background-color:white;border-style:none;margin:0;padding:0;"><span style="color:#606060;">   9:</span> Unit width = <span style="color:#0000ff;">new</span> Unit(600);</pre>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;line-height:12pt;font-family:consolas, &#39;background-color:#f4f4f4;border-style:none;margin:0;padding:0;"><span style="color:#606060;">  10:</span> <span style="color:#0000ff;">if</span> (!<span style="color:#0000ff;">this</span>.Height.IsEmpty)</pre>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;line-height:12pt;font-family:consolas, &#39;background-color:white;border-style:none;margin:0;padding:0;"><span style="color:#606060;">  11:</span>     height = <span style="color:#0000ff;">this</span>.Height;</pre>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;line-height:12pt;font-family:consolas, &#39;background-color:#f4f4f4;border-style:none;margin:0;padding:0;"><span style="color:#606060;">  12:</span> silverlightControl.Width = width;</pre>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;line-height:12pt;font-family:consolas, &#39;background-color:white;border-style:none;margin:0;padding:0;"><span style="color:#606060;">  13:</span> silverlightControl.Height = height;</pre>
</p></div>
</div>
<p>To set this property, I overrode the Silverlight control class and declared a new class called PluginTemplate that inherits from the iTemplate interface.&#160; The PluginNotInstalledTemplate property type is of iTemplate.&#160; Within the new PluginTemplate class, I created the InstantiateIn method to set the custom installation verbiage within an asp.net label control via a StringBuilder.&#160; Obviously, this can be done in different ways depending on the experience you want the user to have.&#160; I just chose this for simplicity sake – it may require some jazzing up later.&#160; The two new classes are below:</p>
<div>
<div style="font-size:8pt;overflow:visible;width:100%;color:black;line-height:12pt;font-family:consolas, &#39;background-color:#f4f4f4;border-style:none;padding:0;">
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;line-height:12pt;font-family:consolas, &#39;background-color:white;border-style:none;margin:0;padding:0;"><span style="color:#606060;">   1:</span> <span style="color:#008000;">/// &lt;summary&gt;</span></pre>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;line-height:12pt;font-family:consolas, &#39;background-color:#f4f4f4;border-style:none;margin:0;padding:0;"><span style="color:#606060;">   2:</span> <span style="color:#008000;">/// Custom control class representing the SilverlightControl - will be used to provide a custom installation experience for the client if</span></pre>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;line-height:12pt;font-family:consolas, &#39;background-color:white;border-style:none;margin:0;padding:0;"><span style="color:#606060;">   3:</span> <span style="color:#008000;">/// Silverlight is not installed.</span></pre>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;line-height:12pt;font-family:consolas, &#39;background-color:#f4f4f4;border-style:none;margin:0;padding:0;"><span style="color:#606060;">   4:</span> <span style="color:#008000;">/// &lt;/summary&gt;</span></pre>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;line-height:12pt;font-family:consolas, &#39;background-color:white;border-style:none;margin:0;padding:0;"><span style="color:#606060;">   5:</span>     <span style="color:#0000ff;">public</span> <span style="color:#0000ff;">class</span> SilverlightBase : System.Web.UI.SilverlightControls.Silverlight</pre>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;line-height:12pt;font-family:consolas, &#39;background-color:#f4f4f4;border-style:none;margin:0;padding:0;"><span style="color:#606060;">   6:</span>     {</pre>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;line-height:12pt;font-family:consolas, &#39;background-color:white;border-style:none;margin:0;padding:0;"><span style="color:#606060;">   7:</span>         <span style="color:#0000ff;">public</span> SilverlightBase() </pre>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;line-height:12pt;font-family:consolas, &#39;background-color:#f4f4f4;border-style:none;margin:0;padding:0;"><span style="color:#606060;">   8:</span>         {</pre>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;line-height:12pt;font-family:consolas, &#39;background-color:white;border-style:none;margin:0;padding:0;"><span style="color:#606060;">   9:</span>             <span style="color:#0000ff;">base</span>.PluginNotInstalledTemplate = <span style="color:#0000ff;">new</span> PlugInTemplate(); </pre>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;line-height:12pt;font-family:consolas, &#39;background-color:#f4f4f4;border-style:none;margin:0;padding:0;"><span style="color:#606060;">  10:</span>         }</pre>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;line-height:12pt;font-family:consolas, &#39;background-color:white;border-style:none;margin:0;padding:0;"><span style="color:#606060;">  11:</span>     }</pre>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;line-height:12pt;font-family:consolas, &#39;background-color:#f4f4f4;border-style:none;margin:0;padding:0;"><span style="color:#606060;">  12:</span>&#160; </pre>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;line-height:12pt;font-family:consolas, &#39;background-color:white;border-style:none;margin:0;padding:0;"><span style="color:#606060;">  13:</span>     <span style="color:#008000;">/// &lt;summary&gt;</span></pre>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;line-height:12pt;font-family:consolas, &#39;background-color:#f4f4f4;border-style:none;margin:0;padding:0;"><span style="color:#606060;">  14:</span>     <span style="color:#008000;">/// ITemplate class to add to the custom Silverlight control</span></pre>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;line-height:12pt;font-family:consolas, &#39;background-color:white;border-style:none;margin:0;padding:0;"><span style="color:#606060;">  15:</span>     <span style="color:#008000;">/// &lt;/summary&gt;</span></pre>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;line-height:12pt;font-family:consolas, &#39;background-color:#f4f4f4;border-style:none;margin:0;padding:0;"><span style="color:#606060;">  16:</span>     <span style="color:#0000ff;">public</span> <span style="color:#0000ff;">class</span> PlugInTemplate: ITemplate</pre>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;line-height:12pt;font-family:consolas, &#39;background-color:white;border-style:none;margin:0;padding:0;"><span style="color:#606060;">  17:</span>     {</pre>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;line-height:12pt;font-family:consolas, &#39;background-color:#f4f4f4;border-style:none;margin:0;padding:0;"><span style="color:#606060;">  18:</span>         <span style="color:#cc6633;">#region</span> ITemplate Members</pre>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;line-height:12pt;font-family:consolas, &#39;background-color:white;border-style:none;margin:0;padding:0;"><span style="color:#606060;">  19:</span>&#160; </pre>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;line-height:12pt;font-family:consolas, &#39;background-color:#f4f4f4;border-style:none;margin:0;padding:0;"><span style="color:#606060;">  20:</span>         <span style="color:#0000ff;">public</span> <span style="color:#0000ff;">void</span> InstantiateIn(Control container) </pre>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;line-height:12pt;font-family:consolas, &#39;background-color:white;border-style:none;margin:0;padding:0;"><span style="color:#606060;">  21:</span>         {</pre>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;line-height:12pt;font-family:consolas, &#39;background-color:#f4f4f4;border-style:none;margin:0;padding:0;"><span style="color:#606060;">  22:</span>             StringBuilder str = <span style="color:#0000ff;">new</span> StringBuilder();</pre>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;line-height:12pt;font-family:consolas, &#39;background-color:white;border-style:none;margin:0;padding:0;"><span style="color:#606060;">  23:</span>             str.Append(<span style="color:#006080;">&quot;&lt;h2&gt;Get Microsoft Silverlight 2&lt;/h2&gt;&quot;</span>);</pre>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;line-height:12pt;font-family:consolas, &#39;background-color:#f4f4f4;border-style:none;margin:0;padding:0;"><span style="color:#606060;">  24:</span>             str.Append(<span style="color:#006080;">&quot;&lt;p&gt;This application requires Microsoft Silverlight 2 to &quot;</span> + </pre>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;line-height:12pt;font-family:consolas, &#39;background-color:white;border-style:none;margin:0;padding:0;"><span style="color:#606060;">  25:</span>             <span style="color:#006080;">&quot;provide a rich integrated media experience. Silverlight is a small, &quot;</span> + </pre>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;line-height:12pt;font-family:consolas, &#39;background-color:#f4f4f4;border-style:none;margin:0;padding:0;"><span style="color:#606060;">  26:</span>             <span style="color:#006080;">&quot;safe, cross-platform browser plugin created and supported by Microsoft.&lt;/p&gt;&quot;</span>);</pre>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;line-height:12pt;font-family:consolas, &#39;background-color:white;border-style:none;margin:0;padding:0;"><span style="color:#606060;">  27:</span>&#160; </pre>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;line-height:12pt;font-family:consolas, &#39;background-color:#f4f4f4;border-style:none;margin:0;padding:0;"><span style="color:#606060;">  28:</span>             str.Append(<span style="color:#006080;">&quot;&lt;p&gt;&lt;div style='position:absolute;'&gt;&quot;</span> + </pre>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;line-height:12pt;font-family:consolas, &#39;background-color:white;border-style:none;margin:0;padding:0;"><span style="color:#606060;">  29:</span>             <span style="color:#006080;">&quot;&lt;a href='http://go.microsoft.com/fwlink/?LinkID=124807' &quot;</span> + </pre>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;line-height:12pt;font-family:consolas, &#39;background-color:#f4f4f4;border-style:none;margin:0;padding:0;"><span style="color:#606060;">  30:</span>             <span style="color:#006080;">&quot;style='text-decoration: none;'&gt;&lt;img src='http://go.microsoft.com/fwlink/?LinkId=108181' &quot;</span> + </pre>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;line-height:12pt;font-family:consolas, &#39;background-color:white;border-style:none;margin:0;padding:0;"><span style="color:#606060;">  31:</span>             <span style="color:#006080;">&quot;alt='Get Microsoft Silverlight' style='border-style: none'/&gt;&lt;/div&gt;&lt;/p&gt;&quot;</span>);</pre>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;line-height:12pt;font-family:consolas, &#39;background-color:#f4f4f4;border-style:none;margin:0;padding:0;"><span style="color:#606060;">  32:</span>&#160; </pre>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;line-height:12pt;font-family:consolas, &#39;background-color:white;border-style:none;margin:0;padding:0;"><span style="color:#606060;">  33:</span>             System.Web.UI.WebControls.Label txt = <span style="color:#0000ff;">new</span> System.Web.UI.WebControls.Label();</pre>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;line-height:12pt;font-family:consolas, &#39;background-color:#f4f4f4;border-style:none;margin:0;padding:0;"><span style="color:#606060;">  34:</span>             txt.ID = <span style="color:#006080;">&quot;lblMess&quot;</span>;</pre>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;line-height:12pt;font-family:consolas, &#39;background-color:white;border-style:none;margin:0;padding:0;"><span style="color:#606060;">  35:</span>             txt.Text = str.ToString();</pre>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;line-height:12pt;font-family:consolas, &#39;background-color:#f4f4f4;border-style:none;margin:0;padding:0;"><span style="color:#606060;">  36:</span>             </pre>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;line-height:12pt;font-family:consolas, &#39;background-color:white;border-style:none;margin:0;padding:0;"><span style="color:#606060;">  37:</span>             container.Controls.Add(txt);</pre>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;line-height:12pt;font-family:consolas, &#39;background-color:#f4f4f4;border-style:none;margin:0;padding:0;"><span style="color:#606060;">  38:</span>         }</pre>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;line-height:12pt;font-family:consolas, &#39;background-color:white;border-style:none;margin:0;padding:0;"><span style="color:#606060;">  39:</span>&#160; </pre>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;line-height:12pt;font-family:consolas, &#39;background-color:#f4f4f4;border-style:none;margin:0;padding:0;"><span style="color:#606060;">  40:</span>         <span style="color:#cc6633;">#endregion</span></pre>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;line-height:12pt;font-family:consolas, &#39;background-color:white;border-style:none;margin:0;padding:0;"><span style="color:#606060;">  41:</span>     }</pre>
<pre style="font-size:8pt;overflow:visible;width:100%;color:black;line-height:12pt;font-family:consolas, &#39;background-color:#f4f4f4;border-style:none;margin:0;padding:0;"><span style="color:#606060;">  42:</span> }</pre>
</p></div>
</div>
<p>With the new Silverlight control class built with the new instance of the PluginNotinstalledTemplate, I changed the declared instance of the Silverlight control in the Web Part from the System control to the custom control.&#160; Now the installation experience for the client is customized according to the content of the PluginTemplate class.&#160; The resulting display is below:</p>
<p><a href="http://rockybound.files.wordpress.com/2009/01/result.jpg"><img title="Result" style="border-right:0;border-top:0;display:inline;border-left:0;border-bottom:0;" height="201" alt="Result" src="http://rockybound.files.wordpress.com/2009/01/result-thumb.jpg?w=402&#038;h=201" width="402" border="0" /></a>&#160; </p>
</p>
</p>
</p>
<p>Not a totally exciting result, but it is better than just the image, no?&#160; Hope this helps someone!</p>
<p>-G</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rockybound.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rockybound.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/rockybound.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/rockybound.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/rockybound.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/rockybound.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/rockybound.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/rockybound.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/rockybound.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/rockybound.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/rockybound.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/rockybound.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/rockybound.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/rockybound.wordpress.com/20/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rockybound.wordpress.com&amp;blog=2981539&amp;post=20&amp;subd=rockybound&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://rockybound.wordpress.com/2009/01/22/custom-client-installation-experience-for-silverlight-2-sharepoint-web-part/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/73ef2ee4a7ebe918495814448b64d767?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">rockybound</media:title>
		</media:content>

		<media:content url="http://rockybound.files.wordpress.com/2009/01/result-thumb.jpg" medium="image">
			<media:title type="html">Result</media:title>
		</media:content>
	</item>
		<item>
		<title>What is an expert?</title>
		<link>http://rockybound.wordpress.com/2009/01/15/what-is-an-expert/</link>
		<comments>http://rockybound.wordpress.com/2009/01/15/what-is-an-expert/#comments</comments>
		<pubDate>Thu, 15 Jan 2009 06:52:42 +0000</pubDate>
		<dc:creator>rockybound</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[DevConnections]]></category>
		<category><![CDATA[Expert]]></category>
		<category><![CDATA[Information Technology]]></category>

		<guid isPermaLink="false">http://rockybound.wordpress.com/2009/01/15/what-is-an-expert/</guid>
		<description><![CDATA[Each day that goes by, each work hour I spend sitting in front of a computer trying to create solutions to problems clients bring, I learn more.&#160; I learn from you, from bloggers, from colleagues and clients.&#160; I learn from books, websites, white papers and other documents I’ve accumulated over the years.&#160; Lately, I’ve stumbled [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rockybound.wordpress.com&amp;blog=2981539&amp;post=15&amp;subd=rockybound&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Each day that goes by, each work hour I spend sitting in front of a computer trying to create solutions to problems clients bring, I learn more.&#160; I learn from you, from bloggers, from colleagues and clients.&#160; I learn from books, websites, white papers and other documents I’ve accumulated over the years.&#160; Lately, I’ve stumbled across some materials while researching some items that came from self proclaimed “experts”.&#160; These materials were just flatly inaccurate and I started wondering, what exactly does the term “expert” mean?</p>
<p>Thinking about it some more (probably way too much, actually), I started trying to define what and “expert” really is.&#160; My view of an expert has always been someone who knows all there is to know about a subject.&#160; My definition has always just stopped at that point, but lately, I’ve been thinking about it in more philosophical terms.&#160; Taking that definition, one could come to the conclusion that an “expert” couldn’t learn anymore about a subject.&#160; If that were true, is there anyone on this planet that is naive enough to think they can’t learn anymore about something?&#160; Unfortunately, the answer is yes.</p>
<p>Now I realize that people claim to be experts on a variety of things.&#160; The field of Information Technology is filled with people that consider themselves experts on all kinds of subjects.&#160; Some are considered by many others to be experts in their particular field, and rightfully so.&#160; There are people out there with tremendous knowledge, skill and experience.&#160; I attended a <a href="http://www.devconnections.com/">DevConnections</a> conference last year and met a lot of these people – most of them were presenters, but some were attendees.&#160; The one thing I notice about all of them was that they were all students of their trade – extremely bright, curious, determined and exited people that loved what they do.&#160; Talking to them, I never got the sense that they knew everything about their particular subject.&#160; What I did get was an eagerness to learn more about it.</p>
<p>According to the definition of “expert” stated earlier, I know I’ll never become one.&#160; No one will.&#160; Yes, there will be some people that will think they know everything about something, but that just proves that they are NOT experts.&#160; My new view of what the term “expert” means is modeled after the type of people I met at the conference.&#160; They may know a lot about their subject – they may even have created it.&#160; But they will always be the first to admit that they don’t know everything about it.&#160; It’s these kind of people that I look up to, because they will always be the ones that strive to know more.&#160; And, with that attitude, they always will.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rockybound.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rockybound.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/rockybound.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/rockybound.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/rockybound.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/rockybound.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/rockybound.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/rockybound.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/rockybound.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/rockybound.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/rockybound.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/rockybound.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/rockybound.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/rockybound.wordpress.com/15/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rockybound.wordpress.com&amp;blog=2981539&amp;post=15&amp;subd=rockybound&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://rockybound.wordpress.com/2009/01/15/what-is-an-expert/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/73ef2ee4a7ebe918495814448b64d767?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">rockybound</media:title>
		</media:content>
	</item>
		<item>
		<title>RMSUG Presentation – Workflow References, 11/18/08</title>
		<link>http://rockybound.wordpress.com/2008/11/18/rmsug-presentation-%e2%80%93-workflow-references-111808/</link>
		<comments>http://rockybound.wordpress.com/2008/11/18/rmsug-presentation-%e2%80%93-workflow-references-111808/#comments</comments>
		<pubDate>Tue, 18 Nov 2008 23:57:50 +0000</pubDate>
		<dc:creator>rockybound</dc:creator>
				<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[Links]]></category>
		<category><![CDATA[Rocky Mountain]]></category>
		<category><![CDATA[Workflow]]></category>

		<guid isPermaLink="false">http://rockybound.wordpress.com/2008/11/18/rmsug-presentation-%e2%80%93-workflow-references-111808/</guid>
		<description><![CDATA[If you attended the Rocky Mountain SharePoint User Group meeting on the 18th, I thank you for sitting through my presentation on Workflow. Hopefully, you found it informative. (Or entertaining at the very least!) The following is a list of 10 sites and materials that helped me in preparing for this presentation and can be [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rockybound.wordpress.com&amp;blog=2981539&amp;post=13&amp;subd=rockybound&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>If you attended the Rocky Mountain SharePoint User Group meeting on the 18<sup>th</sup>, I thank you for sitting through my presentation on Workflow. Hopefully, you found it informative. (Or entertaining at the very least!) The following is a list of 10 sites and materials that helped me in preparing for this presentation and can be used as general references for Workflow in a SharePoint environment and beyond, with an emphasis on custom workflows for SharePoint.</p>
<ol>
<li>
<div>SharePoint Workflow Development in VS – This is the first of a series of walkthroughs written by Eilene Hao for creating workflows with Visual Studio.</div>
<p><a href="http://blogs.msdn.com/sharepoint/archive/2006/11/18/developing-workflows-in-vs-part-1-workflow-objects-and-a-crash-course-on-mechanics.aspx">http://blogs.msdn.com/sharepoint/archive/2006/11/18/developing-workflows-in-vs-part-1-workflow-objects-and-a-crash-course-on-mechanics.aspx</a></li>
<li>
<div>Introduction to Workflows – One good basic introduction into Workflows in an Office environment</div>
<p><a href="http://office.microsoft.com/en-us/sharepointserver/HA101544241033.aspx">http://office.microsoft.com/en-us/sharepointserver/HA101544241033.aspx</a></li>
<li>
<div>Information on Translation Workflows</div>
<p><a href="http://office.microsoft.com/en-us/sharepointserver/HA101544301033.aspx">http://office.microsoft.com/en-us/sharepointserver/HA101544301033.aspx</a></li>
<li>
<div>Writing Workflows in VS 2005</div>
<p><a href="http://blah.winsmarts.com/2007-8-Writing_SharePoint_Workflows_in_VS2005_-_Crawl_Walk_Run.aspx">http://blah.winsmarts.com/2007-8-Writing_SharePoint_Workflows_in_VS2005_-_Crawl_Walk_Run.aspx</a></li>
<li>
<div>How to Debug your Windows SharePoint Services Workflow</div>
<p><a href="http://msdn.microsoft.com/en-us/library/ms455354.aspx">http://msdn.microsoft.com/en-us/library/ms455354.aspx</a></li>
<li>
<div>SharePoint Advanced Asynchronous Workflow Messaging – Video presenting advance techniques for creating workflows with asynchronous functionality</div>
<p><a href="http://channel9.msdn.com/pdc2008/BB47/">http://channel9.msdn.com/pdc2008/BB47/</a></li>
<li>
<div>Delete Files with Workflow Using Duration</div>
<p><a href="http://www.sharepointblogs.com/holliday/archive/2007/07/26/delete-files-using-workflow-using-duration.aspx">http://www.sharepointblogs.com/holliday/archive/2007/07/26/delete-files-using-workflow-using-duration.aspx</a></li>
<li>
<div>Deactivate and Delete a Workflow Activity from SharePoint</div>
<p><a href="http://russellmccloy.blogspot.com/2008/01/deactivate-and-delete-workflow-feature.html">http://russellmccloy.blogspot.com/2008/01/deactivate-and-delete-workflow-feature.html</a></li>
<li>
<div>Developer Introduction to Workflows for Windows SharePoint Services 3.0 and SharePoint Server 2007</div>
<p><a href="http://msdn.microsoft.com/en-us/library/aa830816.aspx">http://msdn.microsoft.com/en-us/library/aa830816.aspx</a></li>
<li>
<div>K2 Underground – Third party company specializing in providing workflow engines for SharePoint and beyond</div>
<p><a href="http://www.k2underground.com/">http://www.k2underground.com/</a></li>
</ol>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rockybound.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rockybound.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/rockybound.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/rockybound.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/rockybound.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/rockybound.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/rockybound.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/rockybound.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/rockybound.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/rockybound.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/rockybound.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/rockybound.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/rockybound.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/rockybound.wordpress.com/13/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rockybound.wordpress.com&amp;blog=2981539&amp;post=13&amp;subd=rockybound&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://rockybound.wordpress.com/2008/11/18/rmsug-presentation-%e2%80%93-workflow-references-111808/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/73ef2ee4a7ebe918495814448b64d767?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">rockybound</media:title>
		</media:content>
	</item>
	</channel>
</rss>
