<?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:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Ramblings of the Sleepy...</title>
	<atom:link href="http://tiredblogger.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://tiredblogger.wordpress.com</link>
	<description>For an underpaid web architect and overplayed gamer... there is no such thing as sleep.</description>
	<pubDate>Thu, 24 Jul 2008 17:00:47 +0000</pubDate>
	<generator>http://wordpress.org/?v=MU</generator>
	<language>en</language>
			<item>
		<title>Layering Modal Popups using CSS Z-Index</title>
		<link>http://tiredblogger.wordpress.com/2008/07/24/layering-modal-popups-using-css-z-index/</link>
		<comments>http://tiredblogger.wordpress.com/2008/07/24/layering-modal-popups-using-css-z-index/#comments</comments>
		<pubDate>Thu, 24 Jul 2008 14:14:54 +0000</pubDate>
		<dc:creator>David</dc:creator>
		
		<category><![CDATA[.net 3.5]]></category>

		<category><![CDATA[AJAX]]></category>

		<category><![CDATA[Microsoft]]></category>

		<category><![CDATA[Visual Studio 2008]]></category>

		<guid isPermaLink="false">http://tiredblogger.wordpress.com/2008/07/24/layering-modal-popups-using-css-z-index/</guid>
		<description><![CDATA[I really like the Modal Popup Extender (MPE)&#160;(see various articles here) and the &#8220;feel&#8221; that it adds to sites.&#160; It&#8217;s useful for collecting information, changing information, or simply informing the user that something has happened.
But what happens when you need two popups at the same time?
In a recent project, I used the MPE to provide [...]]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I really like the Modal Popup Extender (MPE)&nbsp;(<a href="http://tiredblogger.wordpress.com/?s=modalpopup" target="_blank">see various articles here</a>) and the &ldquo;feel&rdquo; that it adds to sites.&nbsp; It&rsquo;s useful for collecting information, changing information, or simply informing the user that something has happened.</p>
<p><strong>But what happens when you need two popups at the same time?</strong></p>
<p>In a recent project, I used the MPE to provide options when a user added or imported records into a system.&nbsp; However, I also wanted to provide an UpdateProgress panel that would appear OVER the modal popup panel.&nbsp; To do this, I needed to redefine the z-index css attributes to properly layer the controls.</p>
<p>My requirements were simple:</p>
<ul>
<li>The MPE should appear over all &ldquo;pages&rdquo;.</li>
<li>The MPE &ldquo;Backgrounds&rdquo; (the BackgroundCssClass of the MPE) should appear just behind the MPE.</li>
<li>The UpdateProgress and it&rsquo;s background should appear over EVERYTHING else.</li>
<li>The UpdateProgress and the MPEs should scroll and resize according to the browser.</li>
<li>Everything must be&nbsp;cross-browser (of course).</li>
</ul>
<p><strong><font color="#ff0000">UPDATE:</font> </strong>While this works BEAUTIFULLY in IE7, IE8, FF2, and FF3&ndash;-it totally borks out in IE6.&nbsp; Working on a fix now.</p>
<p><strong>The Modal Popup Panel</strong></p>
<p><img alt="The MPE" hspace="5" src="http://photos.tiredstudent.com/WebStorageHandler.ashx?tb=false&amp;id=381" vspace="5" border="2" /></p>
<p>The modal popup panel is pretty standard.&nbsp; The z-index of 1000 basically puts it above most everything else on the screen.</p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;color:#a31515;font-family:Consolas;">.ModalPopupPanel</span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;font-family:Consolas;">{</span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;font-family:Consolas;"><span>&nbsp;&nbsp;&nbsp; </span><span style="color:red;">z-index</span>: <span style="color:blue;">1000</span>;</span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;font-family:Consolas;"><span>&nbsp;&nbsp;&nbsp; </span><span style="color:red;">width</span>: <span style="color:blue;">400px</span>;</span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;font-family:Consolas;"><span>&nbsp;&nbsp;&nbsp; </span><span style="color:red;">border</span>: <span style="color:blue;">solid</span> <span style="color:blue;">2px</span> <span style="color:blue;">#5D7B9D</span>;</span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;font-family:Consolas;"><span>&nbsp;&nbsp;&nbsp; </span><span style="color:red;">background-color</span>: <span style="color:blue;">#F5F5DC</span>;</span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;font-family:Consolas;"><span>&nbsp;&nbsp;&nbsp; </span><span style="color:red;">padding</span>: <span style="color:blue;">10px</span> <span style="color:blue;">10px</span> <span style="color:blue;">10px</span> <span style="color:blue;">10px</span>; </span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;font-family:Consolas;">}</span></p>
</p>
<p><strong>The UpdateProgress Popup Panel</strong></p>
</p>
<p><img alt="The UpdateProgress Popup Panel" hspace="5" src="http://photos.tiredstudent.com/WebStorageHandler.ashx?tb=false&amp;id=382" vspace="5" border="2" /></p>
<p>The UpdateProgress panel is also quite standard&mdash;a white box, border, and animated .gif image to keep users entertained during longer processes.&nbsp; For this, the z-index is set outrageously high just for safety.&nbsp; Remember: I want the UpdateProgress above EVERYTHING else.</p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;color:#a31515;font-family:Consolas;">.UpdateProgressPanel</span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;font-family:Consolas;">{</span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;color:green;font-family:Consolas;">/* UpdateProgressPanel is above EVERYTHING ELSE, even other modal popups */</span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;font-family:Consolas;"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style="color:red;">z-index</span>: <span style="color:blue;">99999999</span>;</span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;font-family:Consolas;"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style="color:red;">background-color</span>:<span style="color:blue;">#fff</span>;</span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;font-family:Consolas;"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style="color:red;">color</span>:<span style="color:blue;">#fff</span>;</span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;font-family:Consolas;"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style="color:red;">width</span>: <span style="color:blue;">200px</span>;</span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;font-family:Consolas;"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style="color:red;">text-align</span>: <span style="color:blue;">center</span>;</span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;font-family:Consolas;"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style="color:red;">vertical-align</span>: <span style="color:blue;">middle</span>;</span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;font-family:Consolas;"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style="color:red;">position</span>: <span style="color:blue;">fixed</span>;</span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;font-family:Consolas;"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style="color:red;">bottom</span>: <span style="color:blue;">50%</span>;</span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;font-family:Consolas;"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style="color:red;">left</span>: <span style="color:blue;">45%</span>;</span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;font-family:Consolas;"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style="color:red;">padding</span>: <span style="color:blue;">10px</span>;</span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;font-family:Consolas;"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style="color:red;">border</span>: <span style="color:blue;">solid</span> <span style="color:blue;">2px</span> <span style="color:blue;">#5D7B9D</span>;</span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;font-family:Consolas;"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;font-family:Consolas;">}</span></p>
</p>
<p><strong>The Modal Backgrounds</strong></p>
<p>Behind the MPE and UpdateProgress backgrounds, you see a nice blue slate gray color, that&rsquo;s handled by the ModalBackground class (the BackgroundCssClass attribute of the ModalPopupExtender control.&nbsp; </p>
</p>
<p class="MsoNormal" style="line-height:normal;margin:0 0 10pt;"><span style="font-size:10pt;line-height:115%;font-family:Consolas;"></span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;color:#a31515;font-family:Consolas;">.ModalBackground</span><span style="font-size:10pt;font-family:Consolas;">,</span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;color:#a31515;font-family:Consolas;">.UpdateProgressModalBackground</span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;font-family:Consolas;">{</span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;font-family:Consolas;"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style="color:red;">background-color</span>: <span style="color:blue;">#6D7B8D</span>; <span style="color:green;">/* Blue Slate Gray */</span></span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;font-family:Consolas;"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style="color:red;">position</span>: <span style="color:blue;">fixed</span>;</span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;font-family:Consolas;"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style="color:red;">top</span>: <span style="color:blue;">0</span>;</span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;font-family:Consolas;"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style="color:red;">left</span>: <span style="color:blue;">0</span>;</span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;font-family:Consolas;"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style="color:red;">height</span>: <span style="color:blue;">100%</span>;</span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;font-family:Consolas;"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style="color:red;">width</span>: <span style="color:blue;">100%</span>;</span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;font-family:Consolas;"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style="color:red;">min-height</span>: <span style="color:blue;">100%</span>;</span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;font-family:Consolas;"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style="color:red;">min-width</span>: <span style="color:blue;">100%</span>;</span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;font-family:Consolas;"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style="color:red;">filter</span>:<span style="color:blue;">alpha(opacity=50)</span>;</span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;font-family:Consolas;"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style="color:red;">opacity</span>:<span style="color:blue;">0.5</span>;</span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;font-family:Consolas;"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style="color:red;">-moz-opacity</span>: <span style="color:blue;">0.5</span>;</span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;font-family:Consolas;">}</span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;font-family:Consolas;">&nbsp;</span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;color:#a31515;font-family:Consolas;">.ModalBackground</span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;font-family:Consolas;">{</span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;color:green;font-family:Consolas;">/* Just below a ModalPopupPanel */</span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;font-family:Consolas;"><span>&nbsp;&nbsp;&nbsp; </span><span style="color:red;">z-index</span>: <span style="color:blue;">999</span>; </span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;font-family:Consolas;">}</span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;color:#a31515;font-family:Consolas;">&nbsp;</span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;color:#a31515;font-family:Consolas;">.UpdateProgressModalBackground</span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;font-family:Consolas;">{</span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;color:green;font-family:Consolas;">/* Above everything else, except an UpdateProgressPanel */</span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;font-family:Consolas;"><span>&nbsp;&nbsp;&nbsp; </span><span style="color:red;">z-index</span>: <span style="color:blue;">99999998</span>; </span></p>
<p class="MsoNormal" style="margin:0 0 10pt;"><span style="font-size:10pt;line-height:115%;font-family:Consolas;">}</span></p>
</p>
<p class="MsoNormal" style="line-height:normal;margin:0;">To save some reuse, the ModalBackground and UpdateProgressModalBackground share the same attributes; however, I&rsquo;ve specified the z-index separately to ensure that the UpdateProgressModalBackground appears ABOVE the regular ModalBackground.&nbsp;</p>
<p class="MsoNormal" style="line-height:normal;margin:0;">&nbsp;</p>
<p class="MsoNormal" style="line-height:normal;margin:0;">These combine to create a nice layered effect.&nbsp; Now, even when a MPE is visible, the UpdateProgress still appears over it and prevents user entry.</p>
<p class="MsoNormal" style="line-height:normal;margin:0;">&nbsp;</p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><img alt="UpdatePanel over MPE" hspace="5" src="http://photos.tiredstudent.com/WebStorageHandler.ashx?tb=false&amp;id=380" vspace="5" border="2" /></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
</p>
<div class="bjtags">Tags: <a rel="tag" href="http://technorati.com/tag/ModalPopupExtender">ModalPopupExtender</a>, <a rel="tag" href="http://technorati.com/tag/CSS">CSS</a>, <a rel="tag" href="http://technorati.com/tag/UpdateProgress">UpdateProgress</a>, <a rel="tag" href="http://technorati.com/tag/asp.net+3.5">asp.net+3.5</a>, <a rel="tag" href="http://technorati.com/tag/ajax">ajax</a></div>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/tiredblogger.wordpress.com/724/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/tiredblogger.wordpress.com/724/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tiredblogger.wordpress.com/724/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tiredblogger.wordpress.com/724/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/tiredblogger.wordpress.com/724/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/tiredblogger.wordpress.com/724/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/tiredblogger.wordpress.com/724/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/tiredblogger.wordpress.com/724/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/tiredblogger.wordpress.com/724/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/tiredblogger.wordpress.com/724/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/tiredblogger.wordpress.com/724/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/tiredblogger.wordpress.com/724/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tiredblogger.wordpress.com&blog=253870&post=724&subd=tiredblogger&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://tiredblogger.wordpress.com/2008/07/24/layering-modal-popups-using-css-z-index/feed/</wfw:commentRss>
	
		<media:content url="http://a.wordpress.com/avatar/tiredstudent-128.jpg" medium="image">
			<media:title type="html">tiredstudent</media:title>
		</media:content>

		<media:content url="http://photos.tiredstudent.com/WebStorageHandler.ashx?tb=false&#38;id=381" medium="image">
			<media:title type="html">The MPE</media:title>
		</media:content>

		<media:content url="http://photos.tiredstudent.com/WebStorageHandler.ashx?tb=false&#38;id=382" medium="image">
			<media:title type="html">The UpdateProgress Popup Panel</media:title>
		</media:content>

		<media:content url="http://photos.tiredstudent.com/WebStorageHandler.ashx?tb=false&#38;id=380" medium="image">
			<media:title type="html">UpdatePanel over MPE</media:title>
		</media:content>
	</item>
		<item>
		<title>A lull&#8230;</title>
		<link>http://tiredblogger.wordpress.com/2008/07/24/a-lull/</link>
		<comments>http://tiredblogger.wordpress.com/2008/07/24/a-lull/#comments</comments>
		<pubDate>Thu, 24 Jul 2008 13:06:16 +0000</pubDate>
		<dc:creator>David</dc:creator>
		
		<category><![CDATA[.net 3.5]]></category>

		<category><![CDATA[AJAX]]></category>

		<category><![CDATA[Insanity!]]></category>

		<category><![CDATA[Visual Studio 2008]]></category>

		<category><![CDATA[Workplace]]></category>

		<category><![CDATA[c#]]></category>

		<guid isPermaLink="false">http://tiredblogger.wordpress.com/2008/07/24/a-lull/</guid>
		<description><![CDATA[As projects wind down, it&#8217;s been quite the administrative lull lately.&#160; Projects are done and rolling out the door; paperwork is ramped up and covering my desk. :(&#160; Hopefully, over the next few weeks, some new fun and excitement will jump in the door&#8212;including a new project involving mobile devices (yay!).
If not, maybe it&#8217;ll give [...]]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>As projects wind down, it&rsquo;s been quite the administrative lull lately.&nbsp; Projects are done and rolling out the door; paperwork is ramped up and covering my desk. :(&nbsp; Hopefully, over the next few weeks, some new fun and excitement will jump in the door&mdash;including a new project involving mobile devices (yay!).</p>
<p>If not, maybe it&rsquo;ll give me time to get back into experiment mode and kick around the new <a href="http://www.codeplex.com/aspnet/Release/ProjectReleases.aspx?ReleaseId=15389" target="_blank">ASP.NET MVC Preview 4</a> and <a href="http://www.codeplex.com/aspnet/Release/ProjectReleases.aspx?ReleaseId=15511" target="_blank">ASP.NET AJAX 4.0 Preview</a>.&nbsp; I haven&rsquo;t had nearly enough time to dink at home&mdash;all this newfound housework takes a LOT of time and energy. Heh.</p>
<div class="bjtags">Tags: <a rel="tag" href="http://technorati.com/tag/asp.net+mvc">asp.net+mvc</a>, <a rel="tag" href="http://technorati.com/tag/asp.net+ajax">asp.net+ajax</a>, <a rel="tag" href="http://technorati.com/tag/boredom">boredom</a></div>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/tiredblogger.wordpress.com/722/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/tiredblogger.wordpress.com/722/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tiredblogger.wordpress.com/722/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tiredblogger.wordpress.com/722/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/tiredblogger.wordpress.com/722/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/tiredblogger.wordpress.com/722/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/tiredblogger.wordpress.com/722/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/tiredblogger.wordpress.com/722/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/tiredblogger.wordpress.com/722/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/tiredblogger.wordpress.com/722/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/tiredblogger.wordpress.com/722/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/tiredblogger.wordpress.com/722/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tiredblogger.wordpress.com&blog=253870&post=722&subd=tiredblogger&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://tiredblogger.wordpress.com/2008/07/24/a-lull/feed/</wfw:commentRss>
	
		<media:content url="http://a.wordpress.com/avatar/tiredstudent-128.jpg" medium="image">
			<media:title type="html">tiredstudent</media:title>
		</media:content>
	</item>
		<item>
		<title>It&#8217;s going to be one of those days&#8230;</title>
		<link>http://tiredblogger.wordpress.com/2008/07/14/its-going-to-be-one-of-those-days/</link>
		<comments>http://tiredblogger.wordpress.com/2008/07/14/its-going-to-be-one-of-those-days/#comments</comments>
		<pubDate>Mon, 14 Jul 2008 13:54:35 +0000</pubDate>
		<dc:creator>David</dc:creator>
		
		<category><![CDATA[.net 3.5]]></category>

		<category><![CDATA[Everything Else]]></category>

		<category><![CDATA[General Development]]></category>

		<category><![CDATA[Hardware and Software]]></category>

		<category><![CDATA[Microsoft]]></category>

		<category><![CDATA[Visual Studio 2008]]></category>

		<category><![CDATA[Windows Server]]></category>

		<guid isPermaLink="false">http://tiredblogger.wordpress.com/2008/07/14/its-going-to-be-one-of-those-days/</guid>
		<description><![CDATA[VS2008 has crashed 20+ times today.&#160; Reboots aren&#8217;t helping.&#160; I&#8217;m slowly uninstalling plug-ins at the moment.&#160; Ugh.
Obviously a Monday

Tags: VS2008, Monday
       ]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>VS2008 has crashed 20+ times today.&nbsp; Reboots aren&rsquo;t helping.&nbsp; I&rsquo;m slowly uninstalling plug-ins at the moment.&nbsp; Ugh.</p>
<p>Obviously a Monday</p>
<p><img alt="I broke'd it..." hspace="5" src="http://photos.tiredstudent.com/WebStorageHandler.ashx?tb=false&amp;id=379" vspace="5" border="2" /></p>
<div class="bjtags">Tags: <a rel="tag" href="http://technorati.com/tag/VS2008">VS2008</a>, <a rel="tag" href="http://technorati.com/tag/Monday">Monday</a></div>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/tiredblogger.wordpress.com/720/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/tiredblogger.wordpress.com/720/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tiredblogger.wordpress.com/720/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tiredblogger.wordpress.com/720/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/tiredblogger.wordpress.com/720/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/tiredblogger.wordpress.com/720/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/tiredblogger.wordpress.com/720/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/tiredblogger.wordpress.com/720/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/tiredblogger.wordpress.com/720/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/tiredblogger.wordpress.com/720/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/tiredblogger.wordpress.com/720/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/tiredblogger.wordpress.com/720/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tiredblogger.wordpress.com&blog=253870&post=720&subd=tiredblogger&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://tiredblogger.wordpress.com/2008/07/14/its-going-to-be-one-of-those-days/feed/</wfw:commentRss>
	
		<media:content url="http://a.wordpress.com/avatar/tiredstudent-128.jpg" medium="image">
			<media:title type="html">tiredstudent</media:title>
		</media:content>

		<media:content url="http://photos.tiredstudent.com/WebStorageHandler.ashx?tb=false&#38;id=379" medium="image">
			<media:title type="html">I broke'd it...</media:title>
		</media:content>
	</item>
		<item>
		<title>AnkhSVN 2.0 Released - How&#8217;s it look?</title>
		<link>http://tiredblogger.wordpress.com/2008/07/11/ankhsvn-20-released-hows-it-look/</link>
		<comments>http://tiredblogger.wordpress.com/2008/07/11/ankhsvn-20-released-hows-it-look/#comments</comments>
		<pubDate>Fri, 11 Jul 2008 20:14:29 +0000</pubDate>
		<dc:creator>David</dc:creator>
		
		<category><![CDATA[.net 2.0]]></category>

		<category><![CDATA[.net 3.0]]></category>

		<category><![CDATA[.net 3.5]]></category>

		<category><![CDATA[General Development]]></category>

		<category><![CDATA[Visual Studio 2005]]></category>

		<category><![CDATA[Visual Studio 2008]]></category>

		<category><![CDATA[Windows Server]]></category>

		<category><![CDATA[Windows Vista]]></category>

		<category><![CDATA[Windows XP]]></category>

		<category><![CDATA[c#]]></category>

		<guid isPermaLink="false">http://tiredblogger.wordpress.com/2008/07/11/ankhsvn-20-released-hows-it-look/</guid>
		<description><![CDATA[When I first started using Subversion full time for all of my personal projects, I stuck with the VisualSVN server and AnkhSVN as a Visual Studio client.&#160; Both were free, easy to install, and easy to use.
However, after a few weeks, the AnkhSVN client could almost be called &#8220;annoying.&#8221;&#160; It trampled over the existing SCC [...]]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p dir="ltr" style="margin-right:0;">When I first started using Subversion full time for all of my personal projects, I stuck with the VisualSVN server and AnkhSVN as a Visual Studio client.&nbsp; Both were free, easy to install, and easy to use.</p>
<p dir="ltr" style="margin-right:0;">However, after a few weeks, the AnkhSVN client could almost be called &ldquo;annoying.&rdquo;&nbsp; It trampled over the existing SCC plugins for SourceSafe (for work) and made a mess out of several of my project uploads.&nbsp; I ended up going back to using TortioiseSVN and doing everything through Explorer.</p>
<p dir="ltr" style="margin-right:0;">When <a href="http://blogs.open.collab.net/svn/2008/07/ankhsvn-20-fina.html" target="_blank">AnkhSVN 2.0 was released</a>, I figured I&rsquo;d give it another shot.</p>
<p dir="ltr" style="margin-right:0;">The site claims quite a bit&mdash;including several unique additions:</p>
<ul>
<li>Pending changes window; subversion status and commands available in one place</li>
<li>Full support for Visual Studio 2005 and 2008; AnkhSVN is now a SCC package instead of just an addin</li>
<li>Better log viewer</li>
<li>Merge support</li>
<li>Property editor</li>
<li>AnkhSVN now supports most project types previously unsupported via the SCC api</li>
<li>All solution explorer actions (rename, copy&amp;paste, drag&amp;drop) keep subversion history now</li>
<li>Enhanced build process and setup</li>
<li>Automatic check for updates</li>
<li>And last but certainly not least end user documentation</li>
</ul>
<p dir="ltr" style="margin-right:0;">All of those look great&mdash;especially the SCC package and changes window.&nbsp; But how does it compare once installed?</p>
<p dir="ltr" style="margin-right:0;">After installation and starting up VS2008, everything looks normal.</p>
<p dir="ltr" style="margin-right:0;"><strong>Brief Look</strong></p>
<p dir="ltr" style="margin-right:0;"><u>Pending Changes Window</u></p>
<p dir="ltr" style="margin-right:0;">The new pending changes window is FANTASTIC&mdash;much improved over the old 1.x versions.&nbsp; I did run into a snafu when trying to resize the window where the scrollbars didn&rsquo;t update on the screen; however, I&rsquo;m not sure if it&rsquo;s a VSS or AnkhSVN issue.</p>
<p dir="ltr" style="margin-right:0;"><img alt="" hspace="5" src="http://photos.tiredstudent.com/WebStorageHandler.ashx?tb=false&amp;id=378" vspace="5" border="2" /></p>
<p dir="ltr" style="margin-right:0;"><u>SCC Package</u></p>
<p dir="ltr" style="margin-right:0;">Under Options &gt; Source Control, AnkhSVN shows up just like it should.</p>
<p dir="ltr" style="margin-right:0;"><img alt="" hspace="5" src="http://photos.tiredstudent.com/WebStorageHandler.ashx?tb=false&amp;id=377" vspace="5" border="2" /></p>
<p dir="ltr" style="margin-right:0;">What does boggle me is that all of the Subversion commands and menus are available no matter what&mdash;even when the VSS SCC is enabled.&nbsp; It still has the stink of VSS and SVN trying to step on one another (&ldquo;pick me! control your project with me! no, I&rsquo;m better! pick me!&rdquo;).</p>
<p dir="ltr" style="margin-right:0;"><u>Log/History Viewer</u></p>
<p dir="ltr" style="margin-right:0;">I really like the new history viewer.&nbsp; It&rsquo;s clean and easy to read; however, if you change the options at the top&mdash;there doesn&rsquo;t appear to be a way to &ldquo;change it back&rdquo; and see the history again, close the view and review.</p>
<p dir="ltr" style="margin-right:0;"><strong>Annoyances</strong></p>
<ul>
<li>
<div style="margin-right:0;">Opening a project from Subversion (File &gt; Subversion &gt; Open from Subversion) will open a project just fine, copy it down, but <u>never opens it</u>.&nbsp; You have to go back and open the solution after it&rsquo;s created the local structure.&nbsp; Not huge, but annoying.</div>
</li>
<li>
<div style="margin-right:0;">When viewing history; you cannot view the history of a single file (that I&rsquo;ve found) in the Repository Explorer.&nbsp; </div>
</li>
</ul>
<p style="margin-right:0;">I&rsquo;m still planning to give it a whirl for the next couple of weeks and see what happens.&nbsp; Hopefully over a couple weeks I&rsquo;ll have more time to code&mdash;it&rsquo;s been a busy July so far!</p>
<div class="bjtags">Tags: <a rel="tag" href="http://technorati.com/tag/AnhkSVN">AnhkSVN</a>, <a rel="tag" href="http://technorati.com/tag/Visual+Studio+2008">Visual+Studio+2008</a>, <a rel="tag" href="http://technorati.com/tag/SCC">SCC</a></div>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/tiredblogger.wordpress.com/718/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/tiredblogger.wordpress.com/718/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tiredblogger.wordpress.com/718/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tiredblogger.wordpress.com/718/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/tiredblogger.wordpress.com/718/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/tiredblogger.wordpress.com/718/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/tiredblogger.wordpress.com/718/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/tiredblogger.wordpress.com/718/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/tiredblogger.wordpress.com/718/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/tiredblogger.wordpress.com/718/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/tiredblogger.wordpress.com/718/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/tiredblogger.wordpress.com/718/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tiredblogger.wordpress.com&blog=253870&post=718&subd=tiredblogger&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://tiredblogger.wordpress.com/2008/07/11/ankhsvn-20-released-hows-it-look/feed/</wfw:commentRss>
	
		<media:content url="http://a.wordpress.com/avatar/tiredstudent-128.jpg" medium="image">
			<media:title type="html">tiredstudent</media:title>
		</media:content>

		<media:content url="http://photos.tiredstudent.com/WebStorageHandler.ashx?tb=false&#38;id=378" medium="image" />

		<media:content url="http://photos.tiredstudent.com/WebStorageHandler.ashx?tb=false&#38;id=377" medium="image" />
	</item>
		<item>
		<title>Catching Async Postbacks from Server Controls</title>
		<link>http://tiredblogger.wordpress.com/2008/07/11/catching-async-postbacks-from-server-controls/</link>
		<comments>http://tiredblogger.wordpress.com/2008/07/11/catching-async-postbacks-from-server-controls/#comments</comments>
		<pubDate>Fri, 11 Jul 2008 14:31:47 +0000</pubDate>
		<dc:creator>David</dc:creator>
		
		<category><![CDATA[.net 3.0]]></category>

		<category><![CDATA[.net 3.5]]></category>

		<category><![CDATA[AJAX]]></category>

		<category><![CDATA[Visual Studio 2008]]></category>

		<category><![CDATA[c#]]></category>

		<guid isPermaLink="false">http://tiredblogger.wordpress.com/2008/07/11/catching-async-postbacks-from-server-controls/</guid>
		<description><![CDATA[In my current project, I created a custom server control that presented the user with questions and answers&#8212;they select the answer and move on.
However, a requirement was that the user could push a button and &#8220;select all&#8221;.&#160; Unfortunately, DropDownList objects are not as easy to select as, say, a CheckBox.&#160; In addition, all controls are [...]]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>In my current project, I created a custom server control that presented the user with questions and answers&mdash;they select the answer and move on.</p>
<p>However, a requirement was that the user could push a button and &ldquo;select all&rdquo;.&nbsp; Unfortunately, DropDownList objects are not as easy to select as, say, a CheckBox.&nbsp; In addition, all controls are dynamically generated&mdash;I knew the IDs, but couldn&rsquo;t specify the Async trigger in the MasterPage&rsquo;s Script Manager.</p>
<p>I could, however, find the name of the control and do a bit of magic with it.</p>
<p>Here&rsquo;s how:</p>
<p>First, in your server control, check to see if a ScriptManager control is even present.&nbsp; For this example, I&rsquo;m leaving out the try/catches&mdash;so we&rsquo;ll assume that it&rsquo;s there.</p>
<p class="MsoNormal" style="margin:0 0 10pt;"><span style="font-size:10pt;color:blue;line-height:115%;font-family:Consolas;">private</span><span style="font-size:10pt;line-height:115%;font-family:Consolas;"> <span style="color:#2b91af;">ScriptManager</span> _scriptManager;</span></p>
<p>Then, in OnInit (or OnLoad, depending on your controls):</p>
<p class="MsoNormal" style="margin:0 0 10pt;"><span style="font-size:10pt;line-height:115%;font-family:Consolas;">_scriptManager = <span style="color:#2b91af;">ScriptManager</span>.GetCurrent(Page);</span></p>
<p>GetCurrent fetches the current AJAX ScriptManager control from the context you specify&mdash;in this case, the current Page object.</p>
<p>Now we&rsquo;re ready to consume the ScriptManager.&nbsp; First, we ensure that it&rsquo;s not null AND, most importantly, that the line of code is being hit during an Async Postback.&nbsp; Regular postbacks, for the point of updating an UpdatePanel don&rsquo;t matter to us.</p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;color:blue;font-family:Consolas;">if</span><span style="font-size:10pt;font-family:Consolas;"> (_scriptManager != <span style="color:blue;">null</span> &amp;&amp; _scriptManager.IsInAsyncPostBack)</span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;font-family:Consolas;">{<font color="#000000"></font></span></p>
<p><span style="font-size:10pt;color:blue;font-family:Consolas;"></p>
<p class="MsoNormal" style="text-indent:0.5in;line-height:normal;margin:0;"><span style="font-size:10pt;color:blue;font-family:Consolas;">var</span><span style="font-size:10pt;font-family:Consolas;"><font color="#000000"> fromWhere = </font></span></p>
<p class="MsoNormal" style="text-indent:0.5in;line-height:normal;margin:0 0 0 0.5in;"><span style="font-size:10pt;font-family:Consolas;"><font color="#000000">_scriptManager.AsyncPostBackSourceElementID;</font></span></p>
<p></span></p>
<p>The ScriptManager&rsquo;s AsyncPostBackSourceElementID (seriously, can we get longer field names?) provides just that, a hashed heirarchy of the control that caused the Async Postback.&nbsp; For this to work, it&rsquo;s important to remember that you must either have <strong>ChildrenAsTriggers</strong> set to True or have explicitly registered your dynamic control with the ScriptManager.</p>
<p>The hashed output looks like the standard ASP.NET control heirarchy:</p>
<pre><span class="attribute-value">ctl00_pbph_tc_ctl01_<strong><font color="#008000">selectallbutton_123</font></strong></span></pre>
<p>In this case, when&nbsp;I dynamically created my button, I named it &ldquo;selectallbutton_{id}&rdquo; to make it easy to find AND store the information I need in this Select All step.</p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;color:blue;font-family:Consolas;">if</span><span style="font-size:10pt;font-family:Consolas;"> (fromWhere.Contains(<span style="color:#a31515;">&#8220;</span></span><span style="font-size:10pt;color:#a31515;font-family:consolas;">selectallbutton</span><span style="font-size:10pt;color:#a31515;font-family:consolas;">_&#8221;</span><span style="font-size:10pt;font-family:Consolas;">))</span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;font-family:Consolas;"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>{</span></p>
<p class="MsoNormal" style="text-indent:0.5in;line-height:normal;margin:0 0 0 0.5in;"><span style="font-size:10pt;color:blue;font-family:Consolas;">var</span><span style="font-size:10pt;font-family:Consolas;"> id = </span></p>
<p class="MsoNormal" style="text-indent:0.5in;line-height:normal;margin:0 0 0 1in;"><span style="font-size:10pt;font-family:Consolas;">fromWhere</span></p>
<p class="MsoNormal" style="text-indent:0.5in;line-height:normal;margin:0 0 0 1.5in;"><span style="font-size:10pt;font-family:Consolas;">.Substring(fromWhere.IndexOf(<span style="color:#a31515;">&#8216;_&#8217;</span>) + 1)</span></p>
<p class="MsoNormal" style="text-indent:0.5in;line-height:normal;margin:0 0 0 1.5in;"><span style="font-size:10pt;font-family:Consolas;">.ConvertTo&lt;<span style="color:blue;">int</span>&gt;();</span></p>
<p class="MsoNormal" style="text-indent:0.5in;line-height:normal;margin:0;"><span style="font-size:10pt;font-family:Consolas;"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>MyMethod(id);</span></p>
<p><span style="font-size:10pt;font-family:Consolas;">}</span></p>
<p>The full code block looks like:</p>
<p><span style="font-size:10pt;color:blue;font-family:Consolas;"></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;font-family:Consolas;"><font color="#000000">_scriptManager = </font><span style="color:#2b91af;">ScriptManager</span><font color="#000000">.GetCurrent(Page);</font></span></p>
<p></span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;color:blue;font-family:Consolas;">if</span><span style="font-size:10pt;font-family:Consolas;"> (_scriptManager != <span style="color:blue;">null</span> &amp;&amp; _scriptManager.IsInAsyncPostBack)</span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;font-family:Consolas;">{</span></p>
<p class="MsoNormal" style="text-indent:0.5in;line-height:normal;margin:0;"><span style="font-size:10pt;color:blue;font-family:Consolas;">var</span><span style="font-size:10pt;font-family:Consolas;"> fromWhere = </span></p>
<p class="MsoNormal" style="text-indent:0.5in;line-height:normal;margin:0 0 0 0.5in;"><span style="font-size:10pt;font-family:Consolas;">_scriptManager.AsyncPostBackSourceElementID;</span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;font-family:Consolas;">&nbsp;</span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;font-family:Consolas;"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style="color:blue;">if</span> (fromWhere.Contains(<span style="color:#a31515;">&#8220;</span></span><span style="font-size:10pt;color:#a31515;font-family:consolas;">selectallbutton</span><span style="font-size:10pt;color:#a31515;font-family:consolas;">_&#8221;</span><span style="font-size:10pt;font-family:Consolas;">))</span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;font-family:Consolas;"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>{</span></p>
<p class="MsoNormal" style="text-indent:0.5in;line-height:normal;margin:0 0 0 0.5in;"><span style="font-size:10pt;color:blue;font-family:Consolas;">var</span><span style="font-size:10pt;font-family:Consolas;"> id = </span></p>
<p class="MsoNormal" style="text-indent:0.5in;line-height:normal;margin:0 0 0 1in;"><span style="font-size:10pt;font-family:Consolas;">fromWhere</span></p>
<p class="MsoNormal" style="text-indent:0.5in;line-height:normal;margin:0 0 0 1.5in;"><span style="font-size:10pt;font-family:Consolas;">.Substring(fromWhere.IndexOf(<span style="color:#a31515;">&#8216;_&#8217;</span>) + 1)</span></p>
<p class="MsoNormal" style="text-indent:0.5in;line-height:normal;margin:0 0 0 1.5in;"><span style="font-size:10pt;font-family:Consolas;">.ConvertTo&lt;<span style="color:blue;">int</span>&gt;();</span></p>
<p class="MsoNormal" style="text-indent:0.5in;line-height:normal;margin:0;"><span style="font-size:10pt;font-family:Consolas;"><span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>MyMethod(id);</span></p>
<p class="MsoNormal" style="text-indent:0.5in;line-height:normal;margin:0;"><span style="font-size:10pt;font-family:Consolas;">}</span></p>
<p class="MsoNormal" style="margin:0 0 10pt;"><span style="font-size:10pt;line-height:115%;font-family:Consolas;">}</span></p>
<p>Now my dynamically created button&rsquo;s Click event is caught during the Async postback (inside an UpdatePanel), validated, and my custom method is executed&mdash;in this event, taking the &ldquo;id&rdquo; that was part of the Button&rsquo;s ID and modifying other controls on the page accordingly.</p>
<div class="bjtags">Tags: <a rel="tag" href="http://technorati.com/tag/AJAX">AJAX</a>, <a rel="tag" href="http://technorati.com/tag/asp.net+3.5">asp.net+3.5</a>, <a rel="tag" href="http://technorati.com/tag/c#">c#</a>, <a rel="tag" href="http://technorati.com/tag/ScriptManager">ScriptManager</a>, <a rel="tag" href="http://technorati.com/tag/Async">Async</a></div>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/tiredblogger.wordpress.com/716/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/tiredblogger.wordpress.com/716/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tiredblogger.wordpress.com/716/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tiredblogger.wordpress.com/716/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/tiredblogger.wordpress.com/716/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/tiredblogger.wordpress.com/716/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/tiredblogger.wordpress.com/716/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/tiredblogger.wordpress.com/716/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/tiredblogger.wordpress.com/716/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/tiredblogger.wordpress.com/716/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/tiredblogger.wordpress.com/716/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/tiredblogger.wordpress.com/716/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tiredblogger.wordpress.com&blog=253870&post=716&subd=tiredblogger&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://tiredblogger.wordpress.com/2008/07/11/catching-async-postbacks-from-server-controls/feed/</wfw:commentRss>
	
		<media:content url="http://a.wordpress.com/avatar/tiredstudent-128.jpg" medium="image">
			<media:title type="html">tiredstudent</media:title>
		</media:content>
	</item>
		<item>
		<title>Wrapping TabPanel Tabs With A Simple CSS Change</title>
		<link>http://tiredblogger.wordpress.com/2008/07/10/wrapping-tabpanel-tabs-with-a-simple-css-change/</link>
		<comments>http://tiredblogger.wordpress.com/2008/07/10/wrapping-tabpanel-tabs-with-a-simple-css-change/#comments</comments>
		<pubDate>Thu, 10 Jul 2008 21:31:35 +0000</pubDate>
		<dc:creator>David</dc:creator>
		
		<category><![CDATA[.net 2.0]]></category>

		<category><![CDATA[.net 3.0]]></category>

		<category><![CDATA[.net 3.5]]></category>

		<category><![CDATA[AJAX]]></category>

		<category><![CDATA[Microsoft]]></category>

		<category><![CDATA[Visual Studio 2008]]></category>

		<category><![CDATA[c#]]></category>

		<guid isPermaLink="false">http://tiredblogger.wordpress.com/2008/07/10/wrapping-tabpanel-tabs-with-a-simple-css-change/</guid>
		<description><![CDATA[The last few weeks have been filled with taking an old ASP legacy application and updating it to ASP.NET.&#160; Fun stuff and not to challenging.
However, a &#8220;feature&#8221; of the AJAX Control Toolkit&#8217;s TabContainer finally hit a nerve.&#160; In the past, I&#8217;ve ignored the fact that I couldn&#8217;t &#8220;wrap&#8221; the tabs or set how many rows [...]]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>The last few weeks have been filled with taking an old ASP legacy application and updating it to ASP.NET.&nbsp; Fun stuff and not to challenging.</p>
<p>However, a &ldquo;feature&rdquo; of the AJAX Control Toolkit&rsquo;s TabContainer finally hit a nerve.&nbsp; In the past, I&rsquo;ve ignored the fact that I couldn&rsquo;t &ldquo;wrap&rdquo; the tabs or set how many rows of tabs to create.&nbsp; I chalked it up to an annoyance and designed applications with this in mind.</p>
<p>After hunting through the Control Toolkit&rsquo;s source code, the problem is simple.&nbsp; There&rsquo;s a line in the CSS explicitly telling it not to wrap.</p>
<p>Well, recompiling the toolkit can get annoying and hurts mobility of your applications&mdash;it&rsquo;s no fun to bundle &ldquo;custom&rdquo; copies for a simple styling change.</p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;color:#a31515;font-family:Consolas;">.ajax__tab_header</span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;font-family:Consolas;">{</span></p>
<p class="MsoNormal" style="line-height:normal;margin:0;"><span style="font-size:10pt;font-family:Consolas;"><span>&nbsp;&nbsp;&nbsp; </span><span style="color:red;">white-space</span>: <span style="color:blue;">normal</span> <span style="color:blue;">!important</span>;</span></p>
<p class="MsoNormal" style="margin:0 0 10pt;"><span style="font-size:10pt;line-height:115%;font-family:Consolas;">}</span></p>
<p>That will override the nowrap&nbsp;that is built into the Toolkit&rsquo;s CSS.</p>
<p><img alt="" hspace="5" src="http://photos.tiredstudent.com/WebStorageHandler.ashx?tb=false&amp;id=376" vspace="5" border="2" /></p>
<p>Hopefully, <em>someday</em>, this will be a boolean property on the TabContainer control.</p>
<div class="bjtags">Tags: <a rel="tag" href="http://technorati.com/tag/AJAX+Control+Toolkit">AJAX+Control+Toolkit</a>, <a rel="tag" href="http://technorati.com/tag/TabPanel">TabPanel</a>, <a rel="tag" href="http://technorati.com/tag/TabContainer">TabContainer</a></div>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/tiredblogger.wordpress.com/714/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/tiredblogger.wordpress.com/714/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tiredblogger.wordpress.com/714/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tiredblogger.wordpress.com/714/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/tiredblogger.wordpress.com/714/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/tiredblogger.wordpress.com/714/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/tiredblogger.wordpress.com/714/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/tiredblogger.wordpress.com/714/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/tiredblogger.wordpress.com/714/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/tiredblogger.wordpress.com/714/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/tiredblogger.wordpress.com/714/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/tiredblogger.wordpress.com/714/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tiredblogger.wordpress.com&blog=253870&post=714&subd=tiredblogger&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://tiredblogger.wordpress.com/2008/07/10/wrapping-tabpanel-tabs-with-a-simple-css-change/feed/</wfw:commentRss>
	
		<media:content url="http://a.wordpress.com/avatar/tiredstudent-128.jpg" medium="image">
			<media:title type="html">tiredstudent</media:title>
		</media:content>

		<media:content url="http://photos.tiredstudent.com/WebStorageHandler.ashx?tb=false&#38;id=376" medium="image" />
	</item>
		<item>
		<title>Ready for ReSharper 4.0.1 Nightly Builds?</title>
		<link>http://tiredblogger.wordpress.com/2008/07/08/ready-for-resharper-401-nightly-builds/</link>
		<comments>http://tiredblogger.wordpress.com/2008/07/08/ready-for-resharper-401-nightly-builds/#comments</comments>
		<pubDate>Tue, 08 Jul 2008 13:30:27 +0000</pubDate>
		<dc:creator>David</dc:creator>
		
		<category><![CDATA[.net 3.0]]></category>

		<category><![CDATA[.net 3.5]]></category>

		<category><![CDATA[General Development]]></category>

		<category><![CDATA[Visual Studio 2008]]></category>

		<category><![CDATA[c#]]></category>

		<guid isPermaLink="false">http://tiredblogger.wordpress.com/2008/07/08/ready-for-resharper-401-nightly-builds/</guid>
		<description><![CDATA[I swear that they don&#8217;t sleep at JetBrains.&#160; Sleep is good!&#160;  
Fresh off of ReSharper 4.0&#8217;s great EAP and full release, they&#8217;re hard at work for ReSharper 4.0.1.&#160; According to Confluence, there&#8217;s already been almost 220 bug fixes (as per build 907).&#160; 
As usual, caution should be used when evaluating an EAP product (e.g. [...]]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p dir="ltr" style="margin-right:0;">I swear that they don&rsquo;t sleep at JetBrains.&nbsp; Sleep is good!&nbsp; <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p dir="ltr" style="margin-right:0;">Fresh off of ReSharper 4.0&rsquo;s great EAP and full release, they&rsquo;re hard at work for ReSharper 4.0.1.&nbsp; According to Confluence, there&rsquo;s already been almost 220 bug fixes (as per build 907).&nbsp; </p>
<p dir="ltr" style="margin-right:0;">As usual, caution should be used when evaluating an EAP product (e.g. not on your one-and-only production workstation), but it looks like another great opportunity to kick in some feedback for ReSharper.</p>
<p dir="ltr" style="margin-right:0;">You can find the <a href="http://www.jetbrains.net/confluence/display/ReSharper/ReSharper+4.0+Nightly+Builds" target="_blank">nightly builds here</a>.</p>
<div class="bjtags">Tags: <a rel="tag" href="http://technorati.com/tag/ReSharper">ReSharper</a>, <a rel="tag" href="http://technorati.com/tag/JetBrains">JetBrains</a></div>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/tiredblogger.wordpress.com/712/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/tiredblogger.wordpress.com/712/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tiredblogger.wordpress.com/712/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tiredblogger.wordpress.com/712/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/tiredblogger.wordpress.com/712/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/tiredblogger.wordpress.com/712/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/tiredblogger.wordpress.com/712/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/tiredblogger.wordpress.com/712/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/tiredblogger.wordpress.com/712/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/tiredblogger.wordpress.com/712/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/tiredblogger.wordpress.com/712/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/tiredblogger.wordpress.com/712/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tiredblogger.wordpress.com&blog=253870&post=712&subd=tiredblogger&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://tiredblogger.wordpress.com/2008/07/08/ready-for-resharper-401-nightly-builds/feed/</wfw:commentRss>
	
		<media:content url="http://a.wordpress.com/avatar/tiredstudent-128.jpg" medium="image">
			<media:title type="html">tiredstudent</media:title>
		</media:content>
	</item>
		<item>
		<title>Bought a Home!  The Epic</title>
		<link>http://tiredblogger.wordpress.com/2008/06/22/bought-a-home-the-epic/</link>
		<comments>http://tiredblogger.wordpress.com/2008/06/22/bought-a-home-the-epic/#comments</comments>
		<pubDate>Sun, 22 Jun 2008 15:58:15 +0000</pubDate>
		<dc:creator>David</dc:creator>
		
		<category><![CDATA[Everything Else]]></category>

		<category><![CDATA[Insanity!]]></category>

		<guid isPermaLink="false">http://tiredblogger.wordpress.com/?p=703</guid>
		<description><![CDATA[Over the next few days, I&#8217;ll be moving into my first home.&#160; I&#8217;ve spent the past 6 months scowering the housing market and finally found one I really like.&#160; Unlike most the country, homes in the midwest are going UP in price, so finding what I wanted (in what I could afford) was quite tricky. [...]]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Over the next few days, I&#8217;ll be moving into my first home.&nbsp; I&#8217;ve spent the past 6 months scowering the housing market and finally found one I really like.&nbsp; Unlike most the country, homes in the midwest are going UP in price, so finding what I wanted (in what I could afford) was quite tricky. I&#8217;ll post up some pics over the next few days. So, time is tight and I probably won&#8217;t be posting much for the next couple of weeks. See you soon! As I do have access to the internet, I&rsquo;ll be updating this post with news about the new place and photos (if/when I find my camera in the box it&rsquo;s in).</p>
<p><strong>UPDATE: noon, 26 June</strong> - Sellers are unable to meet the requirements of a new roof (my insurance won&#8217;t cover the highly hail damaged roof) by the closing deadline&#8211;if I can&#8217;t insure it, I can&#8217;t close on it.&nbsp; No extensions apply&#8211;I fear that they&#8217;ll just keep dragging it out.&nbsp; I let the agent know that the deal&#8217;s off.&nbsp; We&#8217;ll work up the paperwork tomorrow when she&#8217;s in town.&nbsp; Grr, guess back to the drawing boards.&nbsp; Now to call EVERYONE back. <strong></strong></p>
<p><strong>UPDATE: 11:30pm, 26 June</strong> - Sellers are now able to meet the requirements (*lots of shouting, angry feelings, angst*) and we&#8217;re going to closing tomorrow even though they said they can&#8217;t make it this afternoon.&nbsp; I swear I&#8217;ve never felt more out of control or mislead in my life.&nbsp; Come to find out that what is said means absolutely nothing and requires all parties to SIGN for it.&nbsp; So, apparently we&#8217;re closing tomorrow afternoon.&nbsp; Now to call EVERYONE back&#8230; AGAIN!</p>
<p><strong>UPDATE: 12:00pm, 27 June </strong>&ndash; The insanity continues.&nbsp; The closing time is now iffy because the title agency can&rsquo;t get everything together by the 2:00pm closing time.&nbsp; I&rsquo;m frantically trying to get utilities back on since, due to the weekend and the Sunday possession date, I don&rsquo;t want to walk into a hot, waterless house on Monday morning.</p>
<p><strong>UPDATE: 9:45pm, 27 June</strong> &ndash; Well, everything is done and I have keys in my hand.&nbsp;&nbsp;With what seemed like a hundred signatues, countless stacks of papers and agreements, and some awkward moments with all the shuffle of the past few days&mdash;it&rsquo;s finally over.&nbsp; We take possession midday Sunday.&nbsp;&nbsp;If nothing else, this has been a wild ride.&nbsp; Pictures and more coming soon.</p>
<p><strong>UPDATE: 8:00am, 30 June </strong>&ndash; Well, a day of cleaning (and partial box moving yesterday) and things are taking shape.&nbsp; Here&rsquo;s a few photos that I&rsquo;ll add to as we clean the house.&nbsp; Click for full images. <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><font color="#0066cc"><a href="http://photos.tiredstudent.com/WebStorageHandler.ashx?tb=false&amp;id=372"><img alt="Front entry" hspace="5" src="http://photos.tiredstudent.com/WebStorageHandler.ashx?tb=true&amp;id=372" vspace="5" border="1" /></a></font></p>
<p>Front entry with real hardwood floors.</p>
<p><font color="#0066cc"><a href="http://photos.tiredstudent.com/WebStorageHandler.ashx?tb=false&amp;id=373"><img alt="Living rom" hspace="5" src="http://photos.tiredstudent.com/WebStorageHandler.ashx?tb=true&amp;id=373" vspace="5" border="2" /></a></font></p>
<p>Living room with passthrough to kitchen, dutch door, and fireplace.</p>
<p><font color="#0066cc"><a href="http://photos.tiredstudent.com/WebStorageHandler.ashx?tb=false&amp;id=374"><img alt="Skylights" hspace="5" src="http://photos.tiredstudent.com/WebStorageHandler.ashx?tb=true&amp;id=374" vspace="5" border="2" /></a></font></p>
<p>Living room has old English framing and skylights.</p>
<p><font color="#0066cc"><a href="http://photos.tiredstudent.com/WebStorageHandler.ashx?tb=false&amp;id=375"><img alt="Kitchen" hspace="5" src="http://photos.tiredstudent.com/WebStorageHandler.ashx?tb=true&amp;id=375" vspace="5" border="2" /></a></font></p>
<p>Kitchen with eat-in dining area, bay window.</p>
<p><strong>UPDATE: 11:15am, 3 July</strong> &ndash; Wow, what a rush of busy days.&nbsp; Everything is moved, appliances are in, and the important things are setup and working&mdash;the computer (and internet), the new HD TV and tuner, and the coffee pot.</p>
<div class="bjtags">Tags: <a rel="tag" href="http://technorati.com/tag/Home+Buying">Home+Buying</a>, <a rel="tag" href="http://technorati.com/tag/Real+Estate">Real+Estate</a></div>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/tiredblogger.wordpress.com/703/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/tiredblogger.wordpress.com/703/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tiredblogger.wordpress.com/703/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tiredblogger.wordpress.com/703/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/tiredblogger.wordpress.com/703/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/tiredblogger.wordpress.com/703/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/tiredblogger.wordpress.com/703/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/tiredblogger.wordpress.com/703/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/tiredblogger.wordpress.com/703/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/tiredblogger.wordpress.com/703/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/tiredblogger.wordpress.com/703/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/tiredblogger.wordpress.com/703/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tiredblogger.wordpress.com&blog=253870&post=703&subd=tiredblogger&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://tiredblogger.wordpress.com/2008/06/22/bought-a-home-the-epic/feed/</wfw:commentRss>
	
		<media:content url="http://a.wordpress.com/avatar/tiredstudent-128.jpg" medium="image">
			<media:title type="html">tiredstudent</media:title>
		</media:content>

		<media:content url="http://photos.tiredstudent.com/WebStorageHandler.ashx?tb=true&#38;id=372" medium="image">
			<media:title type="html">Front entry</media:title>
		</media:content>

		<media:content url="http://photos.tiredstudent.com/WebStorageHandler.ashx?tb=true&#38;id=373" medium="image">
			<media:title type="html">Living rom</media:title>
		</media:content>

		<media:content url="http://photos.tiredstudent.com/WebStorageHandler.ashx?tb=true&#38;id=374" medium="image">
			<media:title type="html">Skylights</media:title>
		</media:content>

		<media:content url="http://photos.tiredstudent.com/WebStorageHandler.ashx?tb=true&#38;id=375" medium="image">
			<media:title type="html">Kitchen</media:title>
		</media:content>
	</item>
		<item>
		<title>ReSharper 4.0 - Cool Features</title>
		<link>http://tiredblogger.wordpress.com/2008/06/13/resharper-40-cool-features/</link>
		<comments>http://tiredblogger.wordpress.com/2008/06/13/resharper-40-cool-features/#comments</comments>
		<pubDate>Fri, 13 Jun 2008 14:34:49 +0000</pubDate>
		<dc:creator>David</dc:creator>
		
		<category><![CDATA[.net 2.0]]></category>

		<category><![CDATA[.net 3.0]]></category>

		<category><![CDATA[.net 3.5]]></category>

		<category><![CDATA[LINQ]]></category>

		<category><![CDATA[Visual Studio 2008]]></category>

		<category><![CDATA[c#]]></category>

		<guid isPermaLink="false">http://tiredblogger.wordpress.com/2008/06/13/resharper-40-cool-features/</guid>
		<description><![CDATA[There are quite a few new features to ReSharper 4.0 that are great, but it&#8217;s the little things that really can impress and speed up usage.&#160; A few of my favorites are below.
camelHumps.  
ReSharper now supports Go To &#62; and statement completion according to camel casing.&#160; If you&#8217;re like me, you tend to write [...]]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>There are quite a few new features to ReSharper 4.0 that are great, but it&rsquo;s the little things that really can impress and speed up usage.&nbsp; A few of my favorites are below.</p>
<p><strong>camelHumps. <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </strong></p>
<p>ReSharper now supports Go To &gt; and statement completion according to camel casing.&nbsp; If you&rsquo;re like me, you tend to write normal sentences in camel case&mdash;it&rsquo;s just habit.</p>
<p><img alt="" hspace="5" src="http://photos.tiredstudent.com/WebStorageHandler.ashx?tb=false&amp;id=368" vspace="5" border="1" /></p>
<p>Using the camel casing, it picks up the variable I just created, not the class.</p>
<p><strong>Lambda support.</strong></p>
<p>I&rsquo;ve become addicted to the simplicity of lambdas&mdash;they express intent and you can read them like sentences.&nbsp; ReSharper 4 does an <strong>excellent</strong> job of digging into the anonymous type and pulling up IntelliSense information.</p>
<p class="MsoNormal" style="margin:0 0 10pt;"><span style="font-size:10pt;color:#2b91af;line-height:115%;font-family:Consolas;">ResponseChoicesController</span><span style="font-size:10pt;line-height:115%;font-family:Consolas;">()</span></p>
<p class="MsoNormal" style="text-indent:0.5in;margin:0 0 10pt;"><span style="font-size:10pt;line-height:115%;font-family:Consolas;">.SelectOne(x =&gt; </span></p>
<p class="MsoNormal" style="text-indent:0.5in;margin:0 0 10pt 0.5in;"><span style="font-size:10pt;line-height:115%;font-family:Consolas;">x.IsDefault &amp;&amp; </span></p>
<p class="MsoNormal" style="text-indent:0.5in;margin:0 0 10pt 0.5in;"><span style="font-size:10pt;line-height:115%;font-family:Consolas;">x.ResponseTypeId == responseTypeId)</span></p>
<p>From the ResponseChoicesController, select one that meets the requirements that IsDefault is true and ResponseTypeId is equal to the specified responseTypeId.&nbsp; To me, and I&rsquo;m sure I&rsquo;m odd, that is easier to read than the &ldquo;written&rdquo; LINQ code.</p>
<p><strong>Convert Static to Extension.</strong></p>
<p>This is FANTASTIC for revamping existing code to take full advantage of the .NET 3.5 Framework.&nbsp; I&rsquo;ve been working on a project the past few weeks to migrate a .NET 2.0 project using Enterprise Library 3 up to 3.5 and LINQ-to-SQL and this addition has been fantastic to move data and business logic into controllers and the LINQ data context.</p>
<p>&nbsp;</p>
<div class="bjtags">Tags: <a rel="tag" href="http://technorati.com/tag/ReSharper">ReSharper</a>, <a rel="tag" href="http://technorati.com/tag/Visual+Studio+2008">Visual+Studio+2008</a></div>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/tiredblogger.wordpress.com/702/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/tiredblogger.wordpress.com/702/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tiredblogger.wordpress.com/702/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tiredblogger.wordpress.com/702/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/tiredblogger.wordpress.com/702/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/tiredblogger.wordpress.com/702/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/tiredblogger.wordpress.com/702/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/tiredblogger.wordpress.com/702/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/tiredblogger.wordpress.com/702/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/tiredblogger.wordpress.com/702/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/tiredblogger.wordpress.com/702/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/tiredblogger.wordpress.com/702/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tiredblogger.wordpress.com&blog=253870&post=702&subd=tiredblogger&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://tiredblogger.wordpress.com/2008/06/13/resharper-40-cool-features/feed/</wfw:commentRss>
	
		<media:content url="http://a.wordpress.com/avatar/tiredstudent-128.jpg" medium="image">
			<media:title type="html">tiredstudent</media:title>
		</media:content>

		<media:content url="http://photos.tiredstudent.com/WebStorageHandler.ashx?tb=false&#38;id=368" medium="image" />
	</item>
		<item>
		<title>FIX: Printing ANYTHING Locks Up Windows Server 2003</title>
		<link>http://tiredblogger.wordpress.com/2008/06/12/fix-printing-anything-locks-up-windows-server-2003/</link>
		<comments>http://tiredblogger.wordpress.com/2008/06/12/fix-printing-anything-locks-up-windows-server-2003/#comments</comments>
		<pubDate>Thu, 12 Jun 2008 17:54:10 +0000</pubDate>
		<dc:creator>David</dc:creator>
		
		<category><![CDATA[Hardware and Software]]></category>

		<category><![CDATA[Microsoft]]></category>

		<category><![CDATA[Windows Server]]></category>

		<category><![CDATA[Windows XP]]></category>

		<guid isPermaLink="false">http://tiredblogger.wordpress.com/2008/06/12/fix-printing-anything-locks-up-windows-server-2003/</guid>
		<description><![CDATA[A few days ago, I installed Visual Studio 2008 SP1 Beta and all the goodies that came along with that.&#160; Since then, printing just didn&#8217;t work.&#160; If I tried to print, it&#8217;d hang up the application for a few minutes (felt like hours) until it&#8217;d error out that the printer was not operational.&#160; I could [...]]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p dir="ltr" style="margin-right:0;">A few days ago, I installed Visual Studio 2008 SP1 Beta and all the goodies that came along with that.&nbsp; Since then, printing just didn&rsquo;t work.&nbsp; If I tried to print, it&rsquo;d hang up the application for a few minutes (felt like hours) until it&rsquo;d error out that the printer was not operational.&nbsp; I could print DIRECTLY from the printer (the test page).&nbsp; Meh.</p>
<p dir="ltr" style="margin-right:0;">Trust me, while trying to prototype a reporting application and print examples there is no happiness when you can&rsquo;t print.</p>
<p dir="ltr" style="margin-right:0;">After several hours of hunting, testing drivers, trying fixes, etc&hellip; I finally came across a TOTALLY unrelated <a href="http://support.microsoft.com/kb/948046" target="_blank">MS KB article, #948046</a>.</p>
<p dir="ltr" style="margin-right:0;">The article is for Windows Server 2003 with SP2 and XP with SP2&ndash;-both x64 and x86 editions.&nbsp; It focuses on Microsoft Word and not being able to print if the EU Font pack is installed.&nbsp; The scenario of &ldquo;Word document is not printed as expected&rdquo; is pretty vague.</p>
<p dir="ltr" style="margin-right:0;">Now, I&rsquo;ve been using the same HP printer drivers (an 8150 DN and 5550 DTN Color) for ages without any problems, so I can&rsquo;t fathom that caused the problem, but who knows.&nbsp; The problem started after installing VS2008 SP1 Beta (I haven&rsquo;t combed the install logs to see if it reinstalled Unidrv.dll).</p>
<p dir="ltr" style="margin-right:0;">Anyway, the fix to this problem, so far (after testing in several applications including Adobe Acrobat, Word, Excel, Visual Studio, and SQL Management Studio), is to download the hotfix in the <a href="http://support.microsoft.com/kb/948046" target="_blank">#948046 article</a>.&nbsp; </p>
<p dir="ltr" style="margin-right:0;"><strong>Install, reboot, and things work perfect.</strong></p>
<div class="bjtags">Tags: <a rel="tag" href="http://technorati.com/tag/Windows+Server+2003">Windows+Server+2003</a>, <a rel="tag" href="http://technorati.com/tag/Unidrv.dll">Unidrv.dll</a>, <a rel="tag" href="http://technorati.com/tag/Printing">Printing</a>, <a rel="tag" href="http://technorati.com/tag/KB948046">KB948046</a>, <a rel="tag" href="http://technorati.com/tag/Windows+XP">Windows+XP</a></div>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/tiredblogger.wordpress.com/701/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/tiredblogger.wordpress.com/701/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tiredblogger.wordpress.com/701/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tiredblogger.wordpress.com/701/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/tiredblogger.wordpress.com/701/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/tiredblogger.wordpress.com/701/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/tiredblogger.wordpress.com/701/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/tiredblogger.wordpress.com/701/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/tiredblogger.wordpress.com/701/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/tiredblogger.wordpress.com/701/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/tiredblogger.wordpress.com/701/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/tiredblogger.wordpress.com/701/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tiredblogger.wordpress.com&blog=253870&post=701&subd=tiredblogger&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://tiredblogger.wordpress.com/2008/06/12/fix-printing-anything-locks-up-windows-server-2003/feed/</wfw:commentRss>
	
		<media:content url="http://a.wordpress.com/avatar/tiredstudent-128.jpg" medium="image">
			<media:title type="html">tiredstudent</media:title>
		</media:content>
	</item>
	</channel>
</rss>