<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>The Blog of Travis Gneiting &#187; Uncategorized</title>
	<atom:link href="http://www.blog.travisgneiting.com/category/uncategorized/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.blog.travisgneiting.com</link>
	<description></description>
	<lastBuildDate>Mon, 30 Jan 2012 03:45:15 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	
	
	<!-- google ad injected by adsense-optimizer http://www.adsenseoptimizer.de -->
	<div  style="padding:7px; float: right; padding-right: 0; margin: 3px;"><!-- Ad number: 1 --><script type="text/javascript"><!--
    	 
    	google_ad_client = "pub-7483409282033324"; google_alternate_color = "FFFFFF";
		google_ad_width = 250; google_ad_height = 250;
		google_ad_format = "250x250_as"; google_ad_type = "text_image";
		google_ad_channel =""; google_color_border = "336699";
		google_color_link = "0000FF"; google_color_bg = "FFFFFF";
		google_color_text = "000000"; google_color_url = "008000";
		google_ui_features = "rc:0"; //--></script>
		<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script></div>	<item>
		<title>Test</title>
		<link>http://www.blog.travisgneiting.com/2012/01/29/test/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=test</link>
		<comments>http://www.blog.travisgneiting.com/2012/01/29/test/#comments</comments>
		<pubDate>Mon, 30 Jan 2012 03:45:15 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.blog.travisgneiting.com/?p=283</guid>
		<description><![CDATA[http://www.blog.travisgneiting.com/wp-content/uploads/2012/01/Magazine-Ad-July-2011.pdf http://www.blog.travisgneiting.com/wp-content/uploads/2012/01/PR_Enterprise-Devon-Shniderson_11_1_11.pdf]]></description>
			<content:encoded><![CDATA[<!-- google_ad_section_start --><p><a href="http://www.blog.travisgneiting.com/wp-content/uploads/2012/01/Magazine-Ad-July-2011.pdf" rel="width:900,height:750"  class="wmp" id="wmp1">http://www.blog.travisgneiting.com/wp-content/uploads/2012/01/Magazine-Ad-July-2011.pdf</a></p>
<p><a href="http://www.blog.travisgneiting.com/wp-content/uploads/2012/01/PR_Enterprise-Devon-Shniderson_11_1_11.pdf" rel="width:900,height:750"  class="wmp" id="wmp1">http://www.blog.travisgneiting.com/wp-content/uploads/2012/01/PR_Enterprise-Devon-Shniderson_11_1_11.pdf</a></p>
<!-- google_ad_section_end -->]]></content:encoded>
			<wfw:commentRss>http://www.blog.travisgneiting.com/2012/01/29/test/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CSS 3 and HTML 5 Button</title>
		<link>http://www.blog.travisgneiting.com/2011/07/29/css-3-and-html-5-button/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=css-3-and-html-5-button</link>
		<comments>http://www.blog.travisgneiting.com/2011/07/29/css-3-and-html-5-button/#comments</comments>
		<pubDate>Fri, 29 Jul 2011 06:13:32 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.blog.travisgneiting.com/?p=252</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<!-- google_ad_section_start --><div id="wpshdo_1" class="wp-synhighlighter-outer"><div id="wpshdt_1" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_1"></a><a id="wpshat_1" class="wp-synhighlighter-title" href="#codesyntax_1"  onClick="javascript:wpsh_toggleBlock(1)" title="Click to show/hide code block">Source code</a></td><td align="right"><a href="#codesyntax_1" onClick="javascript:wpsh_code(1)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.blog.travisgneiting.com/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_1" onClick="javascript:wpsh_print(1)" title="Print code"><img border="0" style="border: 0 none" src="http://www.blog.travisgneiting.com/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.blog.travisgneiting.com/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.blog.travisgneiting.com/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_1" class="wp-synhighlighter-inner" style="display: block;"><pre class="vbnet" style="font-family:monospace;">&lt;%@ Page Language<span class="sy0">=</span><span class="st0">&quot;VB&quot;</span> AutoEventWireup<span class="sy0">=</span><span class="st0">&quot;false&quot;</span> CodeFile<span class="sy0">=</span><span class="st0">&quot;Default.aspx.vb&quot;</span> <span class="kw6">Inherits</span><span class="sy0">=</span><span class="st0">&quot;_Default&quot;</span> %&gt;
&nbsp;
&lt;!DOCTYPE html <span class="kw2">PUBLIC</span> <span class="st0">&quot;-//W3C//DTD XHTML 1.0 Transitional//EN&quot;</span> <span class="st0">&quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&quot;</span>&gt;
&nbsp;
&lt;html xmlns<span class="sy0">=</span><span class="st0">&quot;http://www.w3.org/1999/xhtml&quot;</span>&gt;
&nbsp;
&lt;head runat<span class="sy0">=</span><span class="st0">&quot;server&quot;</span>&gt;
&nbsp;
    &lt;title&gt;&lt;<span class="sy0">/</span>title&gt;
&nbsp;
    &lt;style type<span class="sy0">=</span><span class="st0">&quot;text/css&quot;</span>&gt;
&nbsp;
                <span class="sy0">/*</span>Button<span class="sy0">*/</span>
&nbsp;
                .<span class="me1">button</span> <span class="br0">&#123;</span>
&nbsp;
                        display: inline<span class="sy0">-</span>block;
&nbsp;
                        outline: none;
&nbsp;
                        cursor: pointer;
&nbsp;
                        text<span class="sy0">-</span>align: center;
&nbsp;
                        text<span class="sy0">-</span>decoration: none;
&nbsp;
                        font: 14px<span class="sy0">/</span>100% Arial, Helvetica, sans<span class="sy0">-</span>serif;
&nbsp;
                        font<span class="sy0">-</span>weight:bold;
&nbsp;
                        padding: .5em 2em .55em;
&nbsp;
                        text<span class="sy0">-</span>shadow: 0 1px 1px rgba<span class="br0">&#40;</span>0,0,0,.3<span class="br0">&#41;</span>;
&nbsp;
                        <span class="sy0">-</span>webkit<span class="sy0">-</span>border<span class="sy0">-</span>radius: .5em;
&nbsp;
                        <span class="sy0">-</span>moz<span class="sy0">-</span>border<span class="sy0">-</span>radius: .5em;
&nbsp;
                        border<span class="sy0">-</span>radius: .5em;
&nbsp;
                        border<span class="sy0">-</span>radius: 15px 15px 15px 15px;
&nbsp;
                        <span class="sy0">-</span>webkit<span class="sy0">-</span>box<span class="sy0">-</span>shadow: 0 1px 2px rgba<span class="br0">&#40;</span>0,0,0,.2<span class="br0">&#41;</span>;
&nbsp;
                        <span class="sy0">-</span>moz<span class="sy0">-</span>box<span class="sy0">-</span>shadow: 0 1px 2px rgba<span class="br0">&#40;</span>0,0,0,.2<span class="br0">&#41;</span>;
&nbsp;
                        box<span class="sy0">-</span>shadow: 0 1px 2px rgba<span class="br0">&#40;</span>0,0,0,.2<span class="br0">&#41;</span>;
&nbsp;
                <span class="br0">&#125;</span>
&nbsp;
                .<span class="me1">button</span>:hover <span class="br0">&#123;</span>
&nbsp;
                        text<span class="sy0">-</span>decoration: none;
&nbsp;
                <span class="br0">&#125;</span>
&nbsp;
                .<span class="me1">button</span>:active <span class="br0">&#123;</span>
&nbsp;
                        position: relative;
&nbsp;
                        top: 1px;
&nbsp;
                <span class="br0">&#125;</span>
&nbsp;
                <span class="sy0">/*</span>Gradient<span class="sy0">*/</span>
&nbsp;
                .<span class="me1">orange</span> <span class="br0">&#123;</span>
&nbsp;
                        color: #fef4e9;
&nbsp;
                        border: solid 1px #da7c0c;
&nbsp;
                        background: #f78d1d;
&nbsp;
                        background: <span class="sy0">-</span>webkit<span class="sy0">-</span>gradient<span class="br0">&#40;</span>linear, <span class="kw7">left</span> top, <span class="kw7">left</span> bottom, from<span class="br0">&#40;</span>#faa51a<span class="br0">&#41;</span>, <span class="kw2">to</span><span class="br0">&#40;</span>#f47a20<span class="br0">&#41;</span><span class="br0">&#41;</span>;
&nbsp;
                        background: <span class="sy0">-</span>moz<span class="sy0">-</span>linear<span class="sy0">-</span>gradient<span class="br0">&#40;</span>top,  #faa51a,  #f47a20<span class="br0">&#41;</span>;
&nbsp;
                        <span class="kw7">filter</span>:  progid:DXImageTransform.<span class="me1">Microsoft</span>.<span class="me1">gradient</span><span class="br0">&#40;</span>startColorstr<span class="sy0">=</span><span class="co1">'#faa51a', endColorstr='#f47a20');</span>
&nbsp;
                <span class="br0">&#125;</span>
&nbsp;
                .<span class="me1">orange</span>:hover <span class="br0">&#123;</span>
&nbsp;
                        background: #f47c20;
&nbsp;
                        background: <span class="sy0">-</span>webkit<span class="sy0">-</span>gradient<span class="br0">&#40;</span>linear, <span class="kw7">left</span> top, <span class="kw7">left</span> bottom, from<span class="br0">&#40;</span>#f88e11<span class="br0">&#41;</span>, <span class="kw2">to</span><span class="br0">&#40;</span>#f06015<span class="br0">&#41;</span><span class="br0">&#41;</span>;
&nbsp;
                        background: <span class="sy0">-</span>moz<span class="sy0">-</span>linear<span class="sy0">-</span>gradient<span class="br0">&#40;</span>top,  #f88e11,  #f06015<span class="br0">&#41;</span>;
&nbsp;
                        <span class="kw7">filter</span>:  progid:DXImageTransform.<span class="me1">Microsoft</span>.<span class="me1">gradient</span><span class="br0">&#40;</span>startColorstr<span class="sy0">=</span><span class="co1">'#f88e11', endColorstr='#f06015');</span>
&nbsp;
                <span class="br0">&#125;</span>
&nbsp;
                .<span class="me1">orange</span>:active <span class="br0">&#123;</span>
&nbsp;
                        color: #fcd3a5;
&nbsp;
                        background: <span class="sy0">-</span>webkit<span class="sy0">-</span>gradient<span class="br0">&#40;</span>linear, <span class="kw7">left</span> top, <span class="kw7">left</span> bottom, from<span class="br0">&#40;</span>#f47a20<span class="br0">&#41;</span>, <span class="kw2">to</span><span class="br0">&#40;</span>#faa51a<span class="br0">&#41;</span><span class="br0">&#41;</span>;
&nbsp;
                        background: <span class="sy0">-</span>moz<span class="sy0">-</span>linear<span class="sy0">-</span>gradient<span class="br0">&#40;</span>top,  #f47a20,  #faa51a<span class="br0">&#41;</span>;
&nbsp;
                        <span class="kw7">filter</span>:  progid:DXImageTransform.<span class="me1">Microsoft</span>.<span class="me1">gradient</span><span class="br0">&#40;</span>startColorstr<span class="sy0">=</span><span class="co1">'#f47a20', endColorstr='#faa51a');</span>
&nbsp;
                <span class="br0">&#125;</span>
&nbsp;
    &lt;<span class="sy0">/</span>style&gt;
&nbsp;
&lt;<span class="sy0">/</span>head&gt;
&nbsp;
&lt;body&gt;
&nbsp;
    &lt;form id<span class="sy0">=</span><span class="st0">&quot;form1&quot;</span> runat<span class="sy0">=</span><span class="st0">&quot;server&quot;</span>&gt;
&nbsp;
    &lt;div&gt;
&nbsp;
    &lt;a href<span class="sy0">=</span><span class="st0">&quot;#&quot;</span> <span class="kw6">class</span><span class="sy0">=</span><span class="st0">&quot;button orange&quot;</span>&gt;Orange&lt;<span class="sy0">/</span>a&gt;
&nbsp;
    &lt;<span class="sy0">/</span>div&gt;
&nbsp;
    &lt;<span class="sy0">/</span>form&gt;
&nbsp;
&lt;<span class="sy0">/</span>body&gt;
&nbsp;
&lt;<span class="sy0">/</span>html&gt;</pre></div></div>
<!-- google_ad_section_end -->]]></content:encoded>
			<wfw:commentRss>http://www.blog.travisgneiting.com/2011/07/29/css-3-and-html-5-button/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Custom Field RequiredFieldValidator Highlighting</title>
		<link>http://www.blog.travisgneiting.com/2011/05/25/custom-field-requiredfieldvalidator-highlighting/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=custom-field-requiredfieldvalidator-highlighting</link>
		<comments>http://www.blog.travisgneiting.com/2011/05/25/custom-field-requiredfieldvalidator-highlighting/#comments</comments>
		<pubDate>Wed, 25 May 2011 17:23:30 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.blog.travisgneiting.com/?p=235</guid>
		<description><![CDATA[There was a great post here by Yoann. B that provided a great example in C# for highlighting RequireFieldValidators: http://blog.sb2.fr/post/2008/12/12/Custom-TextBox-Required-Field-Validator.aspx I expanded the code to allow for border widths, and converted the code to VB. Here is the usage of the Overload. You must register the custom control on the page, include the &#8220;Assembly&#8221; attribute [...]]]></description>
			<content:encoded><![CDATA[<!-- google_ad_section_start --><p>There was a great post here by Yoann. B that provided a great example in C# for highlighting RequireFieldValidators: <a href="http://blog.sb2.fr/post/2008/12/12/Custom-TextBox-Required-Field-Validator.aspx">http://blog.sb2.fr/post/2008/12/12/Custom-TextBox-Required-Field-Validator.aspx</a></p>
<p>I expanded the code to allow for border widths, and converted the code to VB.</p>
<div id="wpshdo_2" class="wp-synhighlighter-outer"><div id="wpshdt_2" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_2"></a><a id="wpshat_2" class="wp-synhighlighter-title" href="#codesyntax_2"  onClick="javascript:wpsh_toggleBlock(2)" title="Click to show/hide code block">Source code</a></td><td align="right"><a href="#codesyntax_2" onClick="javascript:wpsh_code(2)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.blog.travisgneiting.com/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_2" onClick="javascript:wpsh_print(2)" title="Print code"><img border="0" style="border: 0 none" src="http://www.blog.travisgneiting.com/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.blog.travisgneiting.com/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.blog.travisgneiting.com/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_2" class="wp-synhighlighter-inner" style="display: block;"><pre class="vbnet" style="font-family:monospace;"><span class="kw6">Imports</span> Microsoft.<span class="me1">VisualBasic</span>
<span class="kw6">Imports</span> System
<span class="kw6">Imports</span> System.<span class="me1">Collections</span>.<span class="me1">Generic</span>
<span class="kw6">Imports</span> System.<span class="me1">Linq</span>
<span class="kw6">Imports</span> System.<span class="me1">Web</span>
<span class="kw6">Imports</span> System.<span class="me1">Drawing</span>
<span class="kw6">Imports</span> System.<span class="me1">Web</span>.<span class="me1">UI</span>.<span class="me1">WebControls</span>
<span class="kw6">Imports</span> System.<span class="me1">ComponentModel</span>
<span class="kw6">Imports</span> System.<span class="me1">Web</span>.<span class="me1">UI</span>
<span class="kw6">Imports</span> System.<span class="me1">Text</span>
&nbsp;
<span class="kw6">Namespace</span> Validators
	&lt;DefaultProperty<span class="br0">&#40;</span><span class="st0">&quot;Text&quot;</span><span class="br0">&#41;</span>&gt; _
	 &lt;ToolboxData<span class="br0">&#40;</span><span class="st0">&quot;&lt;{0}:TextBoxRequiredFieldValidator runat=server&gt;&lt;/{0}:TextBoxRequiredFieldValidator&gt;&quot;</span><span class="br0">&#41;</span>&gt; _
	 <span class="kw2">Public</span> <span class="kw6">Class</span> TextBoxRequiredFieldValidator
		<span class="kw6">Inherits</span> RequiredFieldValidator
#Region <span class="st0">&quot;Public Properties&quot;</span>
&nbsp;
		<span class="kw2">Public</span> <span class="kw2">Property</span> ErrorBackgroundColor<span class="br0">&#40;</span><span class="br0">&#41;</span> <span class="kw2">As</span> Color
			<span class="kw2">Get</span>
				<span class="kw6">If</span> ViewState<span class="br0">&#40;</span><span class="st0">&quot;ErrorBackgroundColor&quot;</span><span class="br0">&#41;</span> <span class="kw2">Is</span> <span class="kw2">Nothing</span> <span class="kw2">Then</span>
					<span class="kw2">Return</span> Color.<span class="me1">LightGray</span>
				<span class="kw2">Else</span>
					<span class="kw2">Return</span> DirectCast<span class="br0">&#40;</span>ViewState<span class="br0">&#40;</span><span class="st0">&quot;ErrorBackgroundColor&quot;</span><span class="br0">&#41;</span>, Color<span class="br0">&#41;</span>
				<span class="kw6">End</span> <span class="kw6">If</span>
			<span class="kw6">End</span> <span class="kw2">Get</span>
			<span class="kw2">Set</span><span class="br0">&#40;</span><span class="kw2">ByVal</span> value <span class="kw2">As</span> Color<span class="br0">&#41;</span>
				ViewState<span class="br0">&#40;</span><span class="st0">&quot;ErrorBackgroundColor&quot;</span><span class="br0">&#41;</span> <span class="sy0">=</span> value
			<span class="kw6">End</span> <span class="kw2">Set</span>
		<span class="kw6">End</span> <span class="kw2">Property</span>
		<span class="kw2">Public</span> <span class="kw2">Property</span> ErrorBorderColor<span class="br0">&#40;</span><span class="br0">&#41;</span> <span class="kw2">As</span> Color
			<span class="kw2">Get</span>
				<span class="kw6">If</span> ViewState<span class="br0">&#40;</span><span class="st0">&quot;ErrorBorderColor&quot;</span><span class="br0">&#41;</span> <span class="kw2">Is</span> <span class="kw2">Nothing</span> <span class="kw2">Then</span>
					<span class="kw2">Return</span> Color.<span class="kw1">Red</span>
				<span class="kw2">Else</span>
					<span class="kw2">Return</span> DirectCast<span class="br0">&#40;</span>ViewState<span class="br0">&#40;</span><span class="st0">&quot;ErrorBorderColor&quot;</span><span class="br0">&#41;</span>, Color<span class="br0">&#41;</span>
				<span class="kw6">End</span> <span class="kw6">If</span>
			<span class="kw6">End</span> <span class="kw2">Get</span>
			<span class="kw2">Set</span><span class="br0">&#40;</span><span class="kw2">ByVal</span> value <span class="kw2">As</span> Color<span class="br0">&#41;</span>
				ViewState<span class="br0">&#40;</span><span class="st0">&quot;ErrorBorderColor&quot;</span><span class="br0">&#41;</span> <span class="sy0">=</span> value
			<span class="kw6">End</span> <span class="kw2">Set</span>
		<span class="kw6">End</span> <span class="kw2">Property</span>
		<span class="kw2">Public</span> <span class="kw2">Property</span> ErrorBorderWidth<span class="br0">&#40;</span><span class="br0">&#41;</span> <span class="kw2">As</span> Unit
			<span class="kw2">Get</span>
				<span class="kw6">If</span> ViewState<span class="br0">&#40;</span><span class="st0">&quot;ErrorBorderWidth&quot;</span><span class="br0">&#41;</span> <span class="kw2">Is</span> <span class="kw2">Nothing</span> <span class="kw2">Then</span>
					<span class="kw2">Return</span> Unit.<span class="me1">Pixel</span><span class="br0">&#40;</span>1<span class="br0">&#41;</span>
				<span class="kw2">Else</span>
					<span class="kw2">Return</span> DirectCast<span class="br0">&#40;</span>ViewState<span class="br0">&#40;</span><span class="st0">&quot;ErrorBorderWidth&quot;</span><span class="br0">&#41;</span>, Unit<span class="br0">&#41;</span>
				<span class="kw6">End</span> <span class="kw6">If</span>
			<span class="kw6">End</span> <span class="kw2">Get</span>
			<span class="kw2">Set</span><span class="br0">&#40;</span><span class="kw2">ByVal</span> value <span class="kw2">As</span> Unit<span class="br0">&#41;</span>
				ViewState<span class="br0">&#40;</span><span class="st0">&quot;ErrorBorderWidth&quot;</span><span class="br0">&#41;</span> <span class="sy0">=</span> value
			<span class="kw6">End</span> <span class="kw2">Set</span>
		<span class="kw6">End</span> <span class="kw2">Property</span>
&nbsp;
#End Region
&nbsp;
#Region <span class="st0">&quot;Private Properties&quot;</span>
&nbsp;
		<span class="kw2">Private</span> <span class="kw2">Property</span> OriginalBackgroundColor<span class="br0">&#40;</span><span class="br0">&#41;</span> <span class="kw2">As</span> Color
			<span class="kw2">Get</span>
				<span class="kw6">If</span> ViewState<span class="br0">&#40;</span><span class="st0">&quot;OriginalBackgroundColor&quot;</span><span class="br0">&#41;</span> <span class="kw2">Is</span> <span class="kw2">Nothing</span> <span class="kw2">Then</span>
					<span class="kw2">Return</span> Color.<span class="me1">LightGray</span>
				<span class="kw2">Else</span>
					<span class="kw2">Return</span> DirectCast<span class="br0">&#40;</span>ViewState<span class="br0">&#40;</span><span class="st0">&quot;OriginalBackgroundColor&quot;</span><span class="br0">&#41;</span>, Color<span class="br0">&#41;</span>
				<span class="kw6">End</span> <span class="kw6">If</span>
			<span class="kw6">End</span> <span class="kw2">Get</span>
			<span class="kw2">Set</span><span class="br0">&#40;</span><span class="kw2">ByVal</span> value <span class="kw2">As</span> Color<span class="br0">&#41;</span>
				ViewState<span class="br0">&#40;</span><span class="st0">&quot;OriginalBackgroundColor&quot;</span><span class="br0">&#41;</span> <span class="sy0">=</span> value
			<span class="kw6">End</span> <span class="kw2">Set</span>
		<span class="kw6">End</span> <span class="kw2">Property</span>
		<span class="kw2">Private</span> <span class="kw2">Property</span> OriginalBorderColor<span class="br0">&#40;</span><span class="br0">&#41;</span> <span class="kw2">As</span> Color
			<span class="kw2">Get</span>
				<span class="kw6">If</span> ViewState<span class="br0">&#40;</span><span class="st0">&quot;OriginalBorderColor&quot;</span><span class="br0">&#41;</span> <span class="kw2">Is</span> <span class="kw2">Nothing</span> <span class="kw2">Then</span>
					<span class="kw2">Return</span> Color.<span class="kw1">Red</span>
				<span class="kw2">Else</span>
					<span class="kw2">Return</span> DirectCast<span class="br0">&#40;</span>ViewState<span class="br0">&#40;</span><span class="st0">&quot;OriginalBorderColor&quot;</span><span class="br0">&#41;</span>, Color<span class="br0">&#41;</span>
				<span class="kw6">End</span> <span class="kw6">If</span>
			<span class="kw6">End</span> <span class="kw2">Get</span>
			<span class="kw2">Set</span><span class="br0">&#40;</span><span class="kw2">ByVal</span> value <span class="kw2">As</span> Color<span class="br0">&#41;</span>
				ViewState<span class="br0">&#40;</span><span class="st0">&quot;OriginalBorderColor&quot;</span><span class="br0">&#41;</span> <span class="sy0">=</span> value
			<span class="kw6">End</span> <span class="kw2">Set</span>
		<span class="kw6">End</span> <span class="kw2">Property</span>
		<span class="kw2">Private</span> <span class="kw2">Property</span> TextBoxToValidate<span class="br0">&#40;</span><span class="br0">&#41;</span> <span class="kw2">As</span> TextBox
			<span class="kw2">Get</span>
				<span class="kw2">Return</span> m_TextBoxToValidate
			<span class="kw6">End</span> <span class="kw2">Get</span>
			<span class="kw2">Set</span><span class="br0">&#40;</span><span class="kw2">ByVal</span> value <span class="kw2">As</span> TextBox<span class="br0">&#41;</span>
				m_TextBoxToValidate <span class="sy0">=</span> value
			<span class="kw6">End</span> <span class="kw2">Set</span>
		<span class="kw6">End</span> <span class="kw2">Property</span>
		<span class="kw2">Private</span> m_TextBoxToValidate <span class="kw2">As</span> TextBox
&nbsp;
#End Region
&nbsp;
#Region <span class="st0">&quot;Protected Overrides Methods&quot;</span>
&nbsp;
		Protected <span class="kw2">Overrides</span> <span class="kw6">Sub</span> OnInit<span class="br0">&#40;</span><span class="kw2">ByVal</span> e <span class="kw2">As</span> EventArgs<span class="br0">&#41;</span>
			<span class="kw2">MyBase</span>.<span class="me1">OnInit</span><span class="br0">&#40;</span>e<span class="br0">&#41;</span>
&nbsp;
			<span class="kw6">Dim</span> txt <span class="kw2">As</span> TextBox <span class="sy0">=</span> TryCast<span class="br0">&#40;</span><span class="kw2">Me</span>.<span class="me1">FindControl</span><span class="br0">&#40;</span><span class="kw2">MyBase</span>.<span class="me1">ControlToValidate</span><span class="br0">&#41;</span>, TextBox<span class="br0">&#41;</span>
			<span class="kw6">If</span> txt <span class="kw2">IsNot</span> <span class="kw2">Nothing</span> <span class="kw2">Then</span>
				TextBoxToValidate <span class="sy0">=</span> txt
&nbsp;
				OriginalBackgroundColor <span class="sy0">=</span> TextBoxToValidate.<span class="me1">BackColor</span>
				OriginalBorderColor <span class="sy0">=</span> TextBoxToValidate.<span class="me1">BorderColor</span>
			<span class="kw6">End</span> <span class="kw6">If</span>
		<span class="kw6">End</span> <span class="kw6">Sub</span>
		Protected <span class="kw2">Overrides</span> <span class="kw6">Function</span> EvaluateIsValid<span class="br0">&#40;</span><span class="br0">&#41;</span> <span class="kw2">As</span> <span class="kw4">Boolean</span>
			<span class="kw6">Dim</span> bIsValid <span class="kw2">As</span> <span class="br0">&#91;</span><span class="kw4">Boolean</span><span class="br0">&#93;</span> <span class="sy0">=</span> <span class="kw1">False</span>
			<span class="kw6">Dim</span> Value <span class="kw2">As</span> <span class="br0">&#91;</span><span class="kw2">String</span><span class="br0">&#93;</span> <span class="sy0">=</span> <span class="kw2">MyBase</span>.<span class="me1">GetControlValidationValue</span><span class="br0">&#40;</span><span class="kw2">MyBase</span>.<span class="me1">ControlToValidate</span><span class="br0">&#41;</span>
			<span class="kw6">If</span> <span class="br0">&#91;</span><span class="kw2">String</span><span class="br0">&#93;</span>.<span class="me1">IsNullOrEmpty</span><span class="br0">&#40;</span>Value<span class="br0">&#41;</span> <span class="kw2">Then</span>
				<span class="kw6">If</span> TextBoxToValidate <span class="kw2">IsNot</span> <span class="kw2">Nothing</span> <span class="kw2">Then</span>
					TextBoxToValidate.<span class="me1">BackColor</span> <span class="sy0">=</span> ErrorBackgroundColor
					TextBoxToValidate.<span class="me1">BorderColor</span> <span class="sy0">=</span> ErrorBorderColor
					bIsValid <span class="sy0">=</span> <span class="kw1">False</span>
				<span class="kw6">End</span> <span class="kw6">If</span>
			<span class="kw2">Else</span>
				<span class="kw6">If</span> TextBoxToValidate <span class="kw2">IsNot</span> <span class="kw2">Nothing</span> <span class="kw2">Then</span>
					TextBoxToValidate.<span class="me1">BackColor</span> <span class="sy0">=</span> OriginalBackgroundColor
					TextBoxToValidate.<span class="me1">BorderColor</span> <span class="sy0">=</span> OriginalBorderColor
					bIsValid <span class="sy0">=</span> <span class="kw1">True</span>
				<span class="kw6">End</span> <span class="kw6">If</span>
			<span class="kw6">End</span> <span class="kw6">If</span>
			<span class="kw2">Return</span> bIsValid
		<span class="kw6">End</span> <span class="kw6">Function</span>
		Protected <span class="kw2">Overrides</span> <span class="kw6">Sub</span> OnPreRender<span class="br0">&#40;</span><span class="kw2">ByVal</span> e <span class="kw2">As</span> EventArgs<span class="br0">&#41;</span>
			<span class="kw2">MyBase</span>.<span class="me1">OnPreRender</span><span class="br0">&#40;</span>e<span class="br0">&#41;</span>
&nbsp;
			<span class="kw6">If</span> Page.<span class="me1">ClientScript</span>.<span class="me1">IsClientScriptBlockRegistered</span><span class="br0">&#40;</span><span class="st0">&quot;ValidationScript&quot;</span><span class="br0">&#41;</span> <span class="kw2">Then</span>
				<span class="kw2">Return</span>
			<span class="kw6">End</span> <span class="kw6">If</span>
&nbsp;
			<span class="kw6">Dim</span> ControlToValidateClientId <span class="kw2">As</span> <span class="br0">&#91;</span><span class="kw2">String</span><span class="br0">&#93;</span> <span class="sy0">=</span> <span class="kw2">MyBase</span>.<span class="me1">GetControlRenderID</span><span class="br0">&#40;</span><span class="kw2">MyBase</span>.<span class="me1">ControlToValidate</span><span class="br0">&#41;</span>
&nbsp;
			<span class="kw6">Dim</span> Script <span class="kw2">As</span> <span class="kw2">New</span> StringBuilder<span class="br0">&#40;</span><span class="br0">&#41;</span>
			Script.<span class="me1">Append</span><span class="br0">&#40;</span><span class="st0">&quot;&lt;script language=&quot;</span><span class="st0">&quot;javascript&quot;</span><span class="st0">&quot;&gt;&quot;</span><span class="br0">&#41;</span>
&nbsp;
			Script.<span class="me1">Append</span><span class="br0">&#40;</span><span class="st0">&quot;function RequiredFieldValidatorEvaluateIsValid(val) {&quot;</span><span class="br0">&#41;</span>
			Script.<span class="me1">Append</span><span class="br0">&#40;</span><span class="st0">&quot;    var value = ValidatorGetValue(val.controltovalidate);&quot;</span><span class="br0">&#41;</span>
			Script.<span class="me1">Append</span><span class="br0">&#40;</span><span class="st0">&quot;if (value == '') {&quot;</span><span class="br0">&#41;</span>
&nbsp;
			Script.<span class="me1">Append</span><span class="br0">&#40;</span><span class="st0">&quot;document.getElementById(val.controltovalidate).style.backgroundColor = '$$BGCOLOR$$';&quot;</span><span class="br0">&#41;</span>
			Script.<span class="kw7">Replace</span><span class="br0">&#40;</span><span class="st0">&quot;$$BGCOLOR$$&quot;</span>, ColorTranslator.<span class="me1">ToHtml</span><span class="br0">&#40;</span>ErrorBackgroundColor<span class="br0">&#41;</span><span class="br0">&#41;</span>
&nbsp;
			Script.<span class="me1">Append</span><span class="br0">&#40;</span><span class="st0">&quot;document.getElementById(val.controltovalidate).style.borderColor = '$$BRCOLOR$$';&quot;</span><span class="br0">&#41;</span>
			Script.<span class="kw7">Replace</span><span class="br0">&#40;</span><span class="st0">&quot;$$BRCOLOR$$&quot;</span>, ColorTranslator.<span class="me1">ToHtml</span><span class="br0">&#40;</span>ErrorBorderColor<span class="br0">&#41;</span><span class="br0">&#41;</span>
&nbsp;
			Script.<span class="me1">Append</span><span class="br0">&#40;</span><span class="st0">&quot;document.getElementById(val.controltovalidate).style.borderWidth = '$$BRWIDTH$$';&quot;</span><span class="br0">&#41;</span>
			Script.<span class="kw7">Replace</span><span class="br0">&#40;</span><span class="st0">&quot;$$BRWIDTH$$&quot;</span>, ErrorBorderWidth.<span class="me1">ToString</span><span class="br0">&#41;</span>
&nbsp;
			Script.<span class="me1">Append</span><span class="br0">&#40;</span><span class="st0">&quot;return false;    }&quot;</span><span class="br0">&#41;</span>
			Script.<span class="me1">Append</span><span class="br0">&#40;</span><span class="st0">&quot;else {&quot;</span><span class="br0">&#41;</span>
&nbsp;
			Script.<span class="me1">Append</span><span class="br0">&#40;</span><span class="st0">&quot;document.getElementById(val.controltovalidate).style.backgroundColor = '$$ORIG_BGCOLOR$$';&quot;</span><span class="br0">&#41;</span>
			Script.<span class="kw7">Replace</span><span class="br0">&#40;</span><span class="st0">&quot;$$ORIG_BGCOLOR$$&quot;</span>, ColorTranslator.<span class="me1">ToHtml</span><span class="br0">&#40;</span>OriginalBackgroundColor<span class="br0">&#41;</span><span class="br0">&#41;</span>
&nbsp;
			Script.<span class="me1">Append</span><span class="br0">&#40;</span><span class="st0">&quot;document.getElementById(val.controltovalidate).style.borderColor = '$$ORIG_BRCOLOR$$';&quot;</span><span class="br0">&#41;</span>
			Script.<span class="kw7">Replace</span><span class="br0">&#40;</span><span class="st0">&quot;$$ORIG_BRCOLOR$$&quot;</span>, ColorTranslator.<span class="me1">ToHtml</span><span class="br0">&#40;</span>OriginalBorderColor<span class="br0">&#41;</span><span class="br0">&#41;</span>
&nbsp;
			Script.<span class="me1">Append</span><span class="br0">&#40;</span><span class="st0">&quot;return true;} }&quot;</span><span class="br0">&#41;</span>
			Script.<span class="me1">Append</span><span class="br0">&#40;</span><span class="st0">&quot;&lt;/script&gt;&quot;</span><span class="br0">&#41;</span>
&nbsp;
			Page.<span class="me1">ClientScript</span>.<span class="me1">RegisterClientScriptBlock</span><span class="br0">&#40;</span><span class="kw2">Me</span>.<span class="br0">&#91;</span><span class="kw5">GetType</span><span class="br0">&#93;</span><span class="br0">&#40;</span><span class="br0">&#41;</span>, <span class="st0">&quot;ValidationScript&quot;</span>, Script.<span class="me1">ToString</span><span class="br0">&#40;</span><span class="br0">&#41;</span><span class="br0">&#41;</span>
		<span class="kw6">End</span> <span class="kw6">Sub</span>
&nbsp;
#End Region
	<span class="kw6">End</span> <span class="kw6">Class</span>
<span class="kw6">End</span> <span class="kw6">Namespace</span></pre></div></div>
<p>Here is the usage of the Overload.</p>
<p>You must register the custom control on the page, include the &#8220;Assembly&#8221; attribute if from outside your project.</p>
<div id="wpshdo_3" class="wp-synhighlighter-outer"><div id="wpshdt_3" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_3"></a><a id="wpshat_3" class="wp-synhighlighter-title" href="#codesyntax_3"  onClick="javascript:wpsh_toggleBlock(3)" title="Click to show/hide code block">Source code</a></td><td align="right"><a href="#codesyntax_3" onClick="javascript:wpsh_code(3)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.blog.travisgneiting.com/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_3" onClick="javascript:wpsh_print(3)" title="Print code"><img border="0" style="border: 0 none" src="http://www.blog.travisgneiting.com/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.blog.travisgneiting.com/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.blog.travisgneiting.com/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_3" class="wp-synhighlighter-inner" style="display: block;"><pre class="vbnet" style="font-family:monospace;">&lt;%@ Register TagPrefix<span class="sy0">=</span><span class="st0">&quot;MyCtrl&quot;</span> <span class="kw6">Namespace</span><span class="sy0">=</span><span class="st0">&quot;Validators&quot;</span> %&gt;</pre></div></div>
<p>The control is used just like the regular required field validator.</p>
<div id="wpshdo_4" class="wp-synhighlighter-outer"><div id="wpshdt_4" class="wp-synhighlighter-expanded"><table border="0" width="100%"><tr><td align="left" width="80%"><a name="#codesyntax_4"></a><a id="wpshat_4" class="wp-synhighlighter-title" href="#codesyntax_4"  onClick="javascript:wpsh_toggleBlock(4)" title="Click to show/hide code block">Source code</a></td><td align="right"><a href="#codesyntax_4" onClick="javascript:wpsh_code(4)" title="Show code only"><img border="0" style="border: 0 none" src="http://www.blog.travisgneiting.com/wp-content/plugins/wp-synhighlight/themes/default/images/code.png" /></a>&nbsp;<a href="#codesyntax_4" onClick="javascript:wpsh_print(4)" title="Print code"><img border="0" style="border: 0 none" src="http://www.blog.travisgneiting.com/wp-content/plugins/wp-synhighlight/themes/default/images/printer.png" /></a>&nbsp;<a href="http://www.blog.travisgneiting.com/wp-content/plugins/wp-synhighlight/About.html" target="_blank" title="Show plugin information"><img border="0" style="border: 0 none" src="http://www.blog.travisgneiting.com/wp-content/plugins/wp-synhighlight/themes/default/images/info.gif" /></a>&nbsp;</td></tr></table></div><div id="wpshdi_4" class="wp-synhighlighter-inner" style="display: block;"><pre class="vbnet" style="font-family:monospace;">&lt;myctrl:textboxrequiredfieldvalidator ID<span class="sy0">=</span><span class="st0">&quot;valid1&quot;</span> runat<span class="sy0">=</span><span class="st0">&quot;server&quot;</span> ControlToValidate<span class="sy0">=</span><span class="st0">&quot;TextBox1&quot;</span> ErrorBackgroundColor<span class="sy0">=</span><span class="st0">&quot;Red&quot;</span> ErrorBorderColor<span class="sy0">=</span><span class="st0">&quot;Red&quot;</span> ErrorBorderWidth<span class="sy0">=</span><span class="st0">&quot;2&quot;</span> SetFocusOnError<span class="sy0">=</span><span class="st0">&quot;true&quot;</span>&gt;&lt;<span class="sy0">/</span>myctrl:textboxrequiredfieldvalidator&gt;</pre></div></div>
<!-- google_ad_section_end -->]]></content:encoded>
			<wfw:commentRss>http://www.blog.travisgneiting.com/2011/05/25/custom-field-requiredfieldvalidator-highlighting/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	
	
	<!-- google ad injected by adsense-optimizer http://www.adsenseoptimizer.de -->
	<div  style="padding:7px; float: left; padding-left: 0px; margin: 3px;"><!-- Ad number: 2 --><script type="text/javascript"><!--
    	 
    	google_ad_client = "pub-3961093531196233"; google_alternate_color = "FFFFFF";
		google_ad_width = 468; google_ad_height = 60;
		google_ad_format = "468x60_as"; google_ad_type = "text_image";
		google_ad_channel ="1685894941"; google_color_border = "E3FA11";
		google_color_link = "FFFFFF"; google_color_bg = "A2AB2B";
		google_color_text = "000000"; google_color_url = "FFFFFF";
		google_ui_features = "rc:0"; //--></script>
		<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script></div>	<item>
		<title>Status Codes and MIME Types</title>
		<link>http://www.blog.travisgneiting.com/2011/02/17/status-codes-and-mime-types/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=status-codes-and-mime-types</link>
		<comments>http://www.blog.travisgneiting.com/2011/02/17/status-codes-and-mime-types/#comments</comments>
		<pubDate>Thu, 17 Feb 2011 13:25:36 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[IIS]]></category>
		<category><![CDATA[MIME]]></category>
		<category><![CDATA[Status Codes]]></category>

		<guid isPermaLink="false">http://www.blog.travisgneiting.com/?p=213</guid>
		<description><![CDATA[text Textual information. Subtypes include plain, html, and xml. image Image data. Subtypes are defined for two widely used image formats, jpeg and gif, and other subtypes exist as well. audio Audio data. Requires an audio output device (such as a speaker or headphones) for the contents to be heard. An initial subtype, basic, is [...]]]></description>
			<content:encoded><![CDATA[<!-- google_ad_section_start --><p>text Textual information. Subtypes include plain, html, and xml.<br />
image Image data. Subtypes are defined for two widely used image formats,<br />
jpeg and gif, and other subtypes exist as well.<br />
audio Audio data. Requires an audio output device (such as a speaker or headphones)<br />
for the contents to be heard. An initial subtype, basic, is defined<br />
for this type.<br />
video Video data. The subtype mpeg is often used. Typically, videos are not<br />
transferred directly, but are read from an embedded object, such as a<br />
JavaScript or Adobe Flash object.<br />
application Any binary data. The subtype octet-stream is typically used.</p>
<!-- google_ad_section_end -->]]></content:encoded>
			<wfw:commentRss>http://www.blog.travisgneiting.com/2011/02/17/status-codes-and-mime-types/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Process vs. Thread</title>
		<link>http://www.blog.travisgneiting.com/2010/11/30/process-vs-thread/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=process-vs-thread</link>
		<comments>http://www.blog.travisgneiting.com/2010/11/30/process-vs-thread/#comments</comments>
		<pubDate>Wed, 01 Dec 2010 02:26:13 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.blog.travisgneiting.com/?p=195</guid>
		<description><![CDATA[Using Processes and Threads provide a way for paralleling work on a computer. Processes are independent execution units that contain their own state and address spaces. Basically an instance or execution of a program. And they can only communicate with other processes via interprocess communication. The division of processes should be done during the design [...]]]></description>
			<content:encoded><![CDATA[<!-- google_ad_section_start --><p>Using Processes and Threads provide a way for paralleling work on a computer. Processes are independent execution units that contain their own state and address spaces. Basically an instance or execution of a program. And they can only communicate with other processes via interprocess communication. The division of processes should be done during the design phase.</p>
<p>Threading should not affect an architecture of an application. A single process can contain multiple threads. All threads share the same state and same space in memory. They can communicate with each other because they use the same variables.</p>
<p>Threads power comes from their ease of creation, while process creation is not so straightforward.</p>
<!-- google_ad_section_end -->]]></content:encoded>
			<wfw:commentRss>http://www.blog.travisgneiting.com/2010/11/30/process-vs-thread/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Truncate Table with Delete and Reseed</title>
		<link>http://www.blog.travisgneiting.com/2010/11/08/truncate-table-with-delete-and-reseed/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=truncate-table-with-delete-and-reseed</link>
		<comments>http://www.blog.travisgneiting.com/2010/11/08/truncate-table-with-delete-and-reseed/#comments</comments>
		<pubDate>Mon, 08 Nov 2010 15:56:11 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.blog.travisgneiting.com/?p=186</guid>
		<description><![CDATA[  Delete From [tableName]  DBCC CHECKIDENT ([tableName], reseed, 0)]]></description>
			<content:encoded><![CDATA[<!-- google_ad_section_start --><p><span style="font-size: x-small;"><font size="2"> </p>
<p></font></span><span style="color: #0000ff; font-size: x-small;"><span style="color: #0000ff; font-size: x-small;">Delete</span></span><span style="font-size: x-small;"> </span><span style="color: #0000ff; font-size: x-small;"><span style="color: #0000ff; font-size: x-small;">From</span></span><span style="font-size: x-small;"> [tableName]</span><span style="font-size: x-small;"><font size="2"> </p>
<p></font></span></p>
<p><span style="color: #0000ff; font-size: x-small;"><span style="color: #0000ff; font-size: x-small;">DBCC</span></span><span style="font-size: x-small;"> CHECKIDENT</span><span style="color: #0000ff; font-size: x-small;"><span style="color: #0000ff; font-size: x-small;"> </span></span><span style="color: #808080; font-size: x-small;"><span style="color: #808080; font-size: x-small;">(<span style="color: #000000;">[tableName]</span></span></span><span style="color: #808080; font-size: x-small;"><span style="color: #000000;">,</span></span><span style="font-size: x-small;"><span style="color: #000000;"> </span>reseed</span><span style="color: #808080; font-size: x-small;"><span style="color: #808080; font-size: x-small;">,</span></span><span style="font-size: x-small;"> 0</span><span style="color: #808080; font-size: x-small;"><span style="color: #808080; font-size: x-small;">)</span></span></p>
<!-- google_ad_section_end -->]]></content:encoded>
			<wfw:commentRss>http://www.blog.travisgneiting.com/2010/11/08/truncate-table-with-delete-and-reseed/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>.NET Framework 4.0 Statistics &#8230; This is interesting</title>
		<link>http://www.blog.travisgneiting.com/2010/10/27/net-framework-4-0-statistics-this-is-interesting/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=net-framework-4-0-statistics-this-is-interesting</link>
		<comments>http://www.blog.travisgneiting.com/2010/10/27/net-framework-4-0-statistics-this-is-interesting/#comments</comments>
		<pubDate>Thu, 28 Oct 2010 01:53:58 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.blog.travisgneiting.com/?p=180</guid>
		<description><![CDATA[I&#8217;ve often found it&#8217;s hard to know all that the framework has to offer.  I&#8217;m left wondering I wonder where I can look to find somthing like that. I&#8217;ve also found it&#8217;s hard to get a complete 10,000 foot view of the entire framework. I think I know some reasons why now&#8230; It&#8217;s ginormious.  Check [...]]]></description>
			<content:encoded><![CDATA[<!-- google_ad_section_start --><p>I&#8217;ve often found it&#8217;s hard to know all that the framework has to offer.  I&#8217;m left wondering I wonder where I can look to find somthing like that. I&#8217;ve also found it&#8217;s hard to get a complete 10,000 foot view of the entire framework. I think I know some reasons why now&#8230; It&#8217;s ginormious.  Check out the stats from Scott Dorman&#8217;s blog.</p>
<p><a href="http://geekswithblogs.net/sdorman/archive/2010/07/10/interesting-.net-framework-4-statistics.aspx">http://geekswithblogs.net/sdorman/archive/2010/07/10/interesting-.net-framework-4-statistics.aspx</a></p>
<p>There were a total of 44,346 types (loaded from 130 assemblies), with 33,152 classes, 2,398 interfaces, 4,828 enums, and 8,796 value types. The complete breakdown is shown below.</p>
<p><img class="alignnone" src="http://geekswithblogs.net/images/geekswithblogs_net/sdorman/WindowsLiveWriter/Interesting.NETFramework4Statistics_13707/image_2.png" alt="" width="523" height="586" /></p>
<p>Of the 33,152 classes, 564 of them are exceptions. There are 428 public and 136 non-public exceptions. The complete breakdown is shown below.</p>
<p><img class="alignnone" src="http://geekswithblogs.net/images/geekswithblogs_net/sdorman/WindowsLiveWriter/Interesting.NETFramework4Statistics_13707/image_4.png" alt="" width="523" height="101" /><a href="http://www.blog.travisgneiting.com/wp-content/uploads/2010/10/image_thumb.png"  class="wmp" id="wmp2"></a></p>
<!-- google_ad_section_end -->]]></content:encoded>
			<wfw:commentRss>http://www.blog.travisgneiting.com/2010/10/27/net-framework-4-0-statistics-this-is-interesting/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	
	
	<!-- google ad injected by adsense-optimizer http://www.adsenseoptimizer.de -->
	<div  style="padding:7px; display: block; margin-left: auto; margin-right: auto; text-align: center;"><!-- Ad number: 3 --><script type="text/javascript"><!--
    	 
    	google_ad_client = "pub-3961093531196233"; google_alternate_color = "FFFFFF";
		google_ad_width = 234; google_ad_height = 60;
		google_ad_format = "234x60_as"; google_ad_type = "text_image";
		google_ad_channel ="1685894941"; google_color_border = "336699";
		google_color_link = "0000FF"; google_color_bg = "FFFFFF";
		google_color_text = "000000"; google_color_url = "008000";
		google_ui_features = "rc:0"; //--></script>
		<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script></div>	<item>
		<title>ASP.NET Podcast</title>
		<link>http://www.blog.travisgneiting.com/2010/10/27/asp-net-podcast/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=asp-net-podcast</link>
		<comments>http://www.blog.travisgneiting.com/2010/10/27/asp-net-podcast/#comments</comments>
		<pubDate>Wed, 27 Oct 2010 23:21:02 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.blog.travisgneiting.com/?p=178</guid>
		<description><![CDATA[Here is a list of a few of my favorite ASP.NET and other podcast. http://www.dotnetrocks.com http://www.hanselminutes.com http://www.codingqa.com http://www.polymorphicpodcast.com http://msjoe.com/blog/podcast/]]></description>
			<content:encoded><![CDATA[<!-- google_ad_section_start --><p>Here is a list of a few of my favorite ASP.NET and other podcast.</p>
<ul>
<li><a href="http://www.dotnetrocks.com">http://www.dotnetrocks.com</a></li>
<li><a href="http://www.hanselminutes.com">http://www.hanselminutes.com</a></li>
<li><a href="http://www.codingqa.com">http://www.codingqa.com</a></li>
<li><a href="http://www.polymorphicpodcast.com">http://www.polymorphicpodcast.com</a></li>
<li><a href="http://msjoe.com/blog/podcast/">http://msjoe.com/blog/podcast/</a></li>
</ul>
<!-- google_ad_section_end -->]]></content:encoded>
			<wfw:commentRss>http://www.blog.travisgneiting.com/2010/10/27/asp-net-podcast/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Exam 70-515: TS: Web Applications Development with Microsoft .NET Framework 4 prep</title>
		<link>http://www.blog.travisgneiting.com/2010/10/22/exam-70-515-ts-web-applications-development-with-microsoft-net-framework-4-prep/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=exam-70-515-ts-web-applications-development-with-microsoft-net-framework-4-prep</link>
		<comments>http://www.blog.travisgneiting.com/2010/10/22/exam-70-515-ts-web-applications-development-with-microsoft-net-framework-4-prep/#comments</comments>
		<pubDate>Sat, 23 Oct 2010 01:55:46 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.blog.travisgneiting.com/?p=175</guid>
		<description><![CDATA[Exam 70-515: TS: Web Applications Development with Microsoft .NET Framework 4 I hope I&#8217;m not the only one that was disappointed to see that the release for the study guide for the 70-515 Web App Development has been pushed back.  I believe on Amazon the date is as late as December 30th! A couple months [...]]]></description>
			<content:encoded><![CDATA[<!-- google_ad_section_start --><h1 id="ctl00_mslLASOExamID0EAAA_headingExamNumber">Exam 70-515:</h1>
<h2 id="ctl00_mslLASOExamID0EAAA_headingExamTitle">TS: Web Applications Development with Microsoft .NET Framework 4</h2>
<p>I hope I&#8217;m not the only one that was disappointed to see that the release for the study guide for the 70-515 Web App Development has been pushed back.  I believe on Amazon the date is as late as December 30th! A couple months ago the release was scheduled for November 15th.  I recently finished my Masters Degree, and my brain is turning to mush, and this was my next challenge.</p>
<p>Well, here are a few things I&#8217;ll be reviewing until the book is released, hope they help someone else too.</p>
<p>From Microsofts Learning page, the exam is explain as follows.</p>
<h3>About this Exam</h3>
<div>This  exam is designed to test the candidate&#8217;s knowledge and skills for  developing Web applications using ASP.NET and the .NET Framework 4.</div>
<div>Questions  that contain code will be presented in either VB or C#.  Candidates can  select one of these languages when they start the exam.</div>
<h3>Audience Profile</h3>
<div>Candidates  for this exam are professional Web developers who use Microsoft Visual  Studio. Candidates should have a minimum of two to three years of  experience developing Web-based applications by using Visual Studio and  Microsoft ASP.NET. Candidates should be experienced users of Visual  Studio 2008 and later releases and should have a fundamental knowledge  of the .NET Framework 4 programming languages (C# or Microsoft Visual  Basic). In addition, candidates should understand how to use the new  features of Visual Studio 2010 and the .NET Framework 4.</div>
<div>Candidates should also have a minimum of one year of experience with the following:</div>
<ul type="disc">
<li>Accessing data by using Microsoft ADO.NET and LINQ</li>
<li>Creating and consuming Web and Windows Communication Foundation (WCF) services</li>
<li>State management</li>
<li>ASP.NET configuration</li>
<li>Debugging and deployment</li>
<li>Application and page life-cycle management</li>
<li>Security aspects such as authentication and authorization</li>
<li>Client-side scripting languages</li>
<li>Internet Information Server (IIS)</li>
<li>ASP.NET MVC</li>
</ul>
<h3>Credit Toward Certification</h3>
<p>When  you pass Exam 70-515: TS: Web Applications Development with Microsoft  .NET Framework 4, you complete the requirements for the following  certification(s):</p>
<ul type="disc">
<li>MCTS: .NET Framework 4, Web Applications</li>
</ul>
<p>Exam  70-515: TS: Web Applications Development with Microsoft .NET Framework  4: counts as credit toward the following certification(s):</p>
<ul type="disc">
<li>MCPD: Web Developer 4</li>
</ul>
<h2>Skills Being Measured</h2>
<p>This exam measures your ability to accomplish the technical tasks listed below.The percentages indicate the relative weight of each major topic area on the exam.</p>
<h3>Developing Web Forms Pages (19%)</h3>
<ul>
<li>Configure Web Forms pages.
<p>This  objective may include but is not limited to: page directives such as  ViewState, request validation, event validation, MasterPageFile;  ClientIDMode; using web.config; setting the html doctype</p>
<p>This objective does not include: referencing a master page; adding a title to a Web form</li>
<li>Implement master pages and themes.
<p>This  objective may include but is not limited to: creating and applying  themes; adding multiple content placeholders; nested master pages;  control skins; passing messages between master pages; switching between  themes at runtime; loading themes at run time; applying a validation  schema</p>
<p>This objective does not include: creating a master page; basic content pages</li>
<li>Implement globalization.<br />
This objective may include but is not limited to: resource files, browser files, CurrentCulture, currentUICulture, ASP:Localize</li>
<li>Handle page life cycle events.<br />
This  objective may include but is not limited to: IsPostback, IsValid,  dynamically creating controls, control availability within the page life  cycle, accessing control values on postback, overriding page events</li>
<li>Implement caching.<br />
This  objective may include but is not limited to: data caching; page output  caching; control output caching; cache dependencies; setting cache  lifetimes; substitution control<br />
This objective does not include: distributed caching (Velocity)</li>
<li>Manage state.<br />
This  objective may include but is not limited to: server-side technologies,  for example, session and application; client-side technologies, for  example, cookies and ViewState; configuring session state (in proc,  state server, Microsoft SQL Server; cookieless); session state  compression; persisting data by using ViewState; compressing ViewState;  moving ViewState</li>
</ul>
<h3>Developing and Using Web Forms Controls (18%)</h3>
<ul>
<li>Validate user input.
<p>This  objective may include but is not limited to: client side, server side,  and via AJAX; custom validation controls; regex validation; validation  groups; datatype check; jQuery validation</p>
<p>This objective does not include: RangeValidator and RequiredValidator</li>
<li>Create page layout.
<p>This objective may include but is not limited to: AssociatedControlID; Web parts; navigation controls; FileUpload controls</p>
<p>This objective does not include:  label; placeholder, panel controls; CSS, HTML, referencing CSS files, inlining</li>
<li>Implement user controls.<br />
This  objective may include but is not limited to: registering a control;  adding a user control; referencing a user control; dynamically loading a  user control; custom event; custom properties; setting toolbox  visibility</li>
<li>Implement server controls.
<p>This  objective may include but is not limited to: composite controls,  INamingContainer, adding a server control to the toolbox, global  assembly cache, creating a custom control event, globally registering  from web.config; TypeConverters</p>
<p>This objective does not include: postback data handler, custom databound controls, templated control</li>
<li>Manipulate user interface controls from code-behind.
<p>This  objective may include but is not limited to: HTML encoding to avoid  cross-site scripting, navigating through and manipulating the control  hierarchy; FindControl; controlRenderingCompatibilityVersion; URL  encoding; RenderOuterTable</p>
<p>This objective does not include: Visibility, Text, Enabled properties</li>
</ul>
<h3>Implementing Client-Side Scripting and AJAX (16%)</h3>
<ul>
<li>Add dynamic features to a page by using JavaScript.<br />
This objective may include but is not limited to: referencing c<br />
lient  ID; Script Manager; Script combining;  Page.clientscript.registerclientscriptblock;  Page.clientscript.registerclientscriptinclude; sys.require  (scriptloader)<br />
This objective does not include: interacting with the server; referencing JavaScript files; inlining JavaScript</li>
<li>Alter a page dynamically by manipulating the DOM.
<p>This  objective may include but is not limited to: using jQuery, adding,  modifying, or removing page elements, adding effects, jQuery selectors</p>
<p>This objective does not include: AJAX</li>
<li>Handle JavaScript events.<br />
This objective may include but is not limited to: DOM events, custom events, handling events by using jQuery</li>
<li>Implement ASP.NET AJAX.
<p>This  objective may include but is not limited to: client-side templating,  creating a script service, extenders (ASP.NET AJAX Control Toolkit),  interacting with the server, Microsoft AJAX Client Library, custom  extenders; multiple update panels; triggers; UpdatePanel.UpdateMode;  Timer</p>
<p>This objective does not include: basic update panel and progress</li>
<li>Implement AJAX by using jQuery.
<p>This  objective may include but is not limited to: $.get, $.post, $.getJSON,  $.ajax, xml, html, JavaScript Object Notation (JSON), handling return  types</p>
<p>This objective does not include: creating a service</li>
</ul>
<h3>Configuring and Extending a Web Application (15%)</h3>
<ul>
<li>Configure authentication and authorization.
<p>This  objective may include but is not limited to: using membership, using  login controls, roles, location element, protecting an area of a site or  a page</p>
<p>This objective does not include:  Windows Live; Microsoft Passport; Windows and Forms authentication</li>
<li>Configure providers.
<p>This objective may include but is not limited to: role, membership, personalization, aspnet_regsql.exe</p>
<p>This objective does not include: creating custom providers</li>
<li>Create and configure HttpHandlers and HttpModules.<br />
This  objective may include but is not limited to: generic handlers,  asynchronous handlers, setting MIME types and other content headers,  wiring modules to application events</li>
<li>Configure initialization and error handling.<br />
This  objective may include but is not limited to: handling  Application_Start, Session_Start, and Application_BeginRequest in  global.asax, capturing unhandled exceptions, custom error section of  web.config, redirecting to an error page; try and catch; creating custom  exceptions</li>
<li>Reference and configure ASMX and WCF services.
<p>This  objective may include but is not limited to: adding service reference,  adding Web reference, changing endpoints, wsdl.exe, svcutil.exe;  updating service URL; shared WCF contracts assembly</p>
<p>This objective does not include: creating WCF and ASMX services</li>
<li>Configure projects and solutions, and reference assemblies.<br />
This  objective may include but is not limited to: local assemblies, shared  assemblies (global assembly cache), Web application projects, solutions,  settings file, configuring a Web application by using web.config or  multiple .config files; assemblyinfo</li>
<li>Debug a Web application.<br />
This  objective may include but is not limited to: remote, local, JavaScript  debugging, attaching to process, logging and tracing, using local IIS,  aspnet_regiis.exe</li>
<li>Deploy a Web application.
<p>This objective may include but is not limited to: pre-compilation, publishing methods (e.g.,<br />
MSDeploy, xcopy, and FTP), deploying an MVC application</p>
<p>This objective does not include: application pools, IIS configuration</li>
</ul>
<h3>Displaying and Manipulating Data (19%)</h3>
<ul>
<li>Implement data-bound controls.
<p>This  objective may include but is not limited to: advanced customization of  DataList, Repeater, ListView, FormsView, DetailsView, TreeView,  DataPager, Chart, GridView</p>
<p>This objective does not include: working in Design mode</li>
<li>Implement DataSource controls.
<p>This  objective may include but is not limited to: ObjectDataSource,  LinqDataSource, XmlDataSource, SqlDataSource, QueryExtender,  EntityDataSource</p>
<p>This objective does not include: AccessDataSource, SiteMapDataSource</li>
<li>Query and manipulate data by using LINQ.
<p>This  objective may include but is not limited to: transforming data by using  LINQ to create XML or JSON, LINQ to SQL, LINQ to Entities, LINQ to  objects, managing DataContext lifetime</p>
<p>This objective does not include: basic LINQ to SQL</li>
<li>
<div>Create and consume a data service.</div>
<div>
This  objective may include but is not limited to: WCF, Web service; server  to server calls; JSON serialization, XML serialization</p>
<p>This objective does not include: client side, ADO.NET Data Services</p></div>
</li>
<li>Create and configure a Dynamic Data project.<br />
This  objective may include but is not limited to: dynamic data controls,  custom field templates; connecting to DataContext and ObjectContext</li>
</ul>
<h3>Developing a Web Application by Using ASP.NET MVC 2 (13%)</h3>
<ul>
<li>Create custom routes.<br />
This objective may include but is not limited to: route constraints, route defaults, ignore routes, custom route parameters</li>
<li>Create controllers and actions.<br />
This  objective may include but is not limited to: Visual Studio support for  right-click context menus; action filters (including Authorize,  AcceptVerbs, and custom) and model binders; ActionResult sub-classes</li>
<li>Structure an ASP.NET MVC application.<br />
This  objective may include but is not limited to: single project areas (for  example, route registration, Visual Studio tooling, and inter-area  links); organizing controllers into areas; shared views; content files  and folders</li>
<li>Create and customize views.
<p>This  objective may include but is not limited to: built-in and custom HTML  helpers (for example, HTML.RenderAction and HTML.RenderPartial),  strongly typed views, static page checking, templated input helpers,  ViewMasterPage, ViewUserControl</p>
<p>This objective does not include: Microsoft.Web.Mvc Futures assembly</li>
</ul>
<!-- google_ad_section_end -->]]></content:encoded>
			<wfw:commentRss>http://www.blog.travisgneiting.com/2010/10/22/exam-70-515-ts-web-applications-development-with-microsoft-net-framework-4-prep/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Variable Scope</title>
		<link>http://www.blog.travisgneiting.com/2010/10/04/variable-scope/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=variable-scope</link>
		<comments>http://www.blog.travisgneiting.com/2010/10/04/variable-scope/#comments</comments>
		<pubDate>Mon, 04 Oct 2010 23:45:36 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.blog.travisgneiting.com/?p=162</guid>
		<description><![CDATA[Variable Scope The Scope or Accessibility of a variable depends on where it can be called in an application, and what the lifetime in memory the variable has. This also determines what context the method can be called. The following are defining terms for scope variables. Scope Terms Public: Anywhere in or outside of a [...]]]></description>
			<content:encoded><![CDATA[<!-- google_ad_section_start --><p>Variable Scope</p>
<p>The Scope or Accessibility of a variable depends on where it can be called in an application, and what the lifetime in memory the variable has. This also determines what context the method can be called. The following are defining terms for scope variables.</p>
<p>Scope Terms</p>
<p>Public: Anywhere in or outside of a project</p>
<p>Private: Only in the block where defined</p>
<p>Protected: Can be used in the class where defined. Can also be used within any inherited classes.</p>
<p>Friend: Can only be accessed in code in the same project or assembly<br />
ProtectedFriend: Combination of Protected and Friend</p>
<p>Scope Rules<br />
There are four levels that variables can be declared in an application.</p>
<p>1.Block:  i.e. within an if statement, the variable lifetime ends at the end of the block</p>
<p>2.Procedure: i.e. within a method, outside of an if statement</p>
<p>3.Class: i.e. within a class the lifetime ends when the object is cleaned by the garbage collector</p>
<p>4.Project: i.e. Public variables within module statements, lifetime is until the program ends</p>
<p>Procedure Modifiers</p>
<p>Public: Can be called from anywhere in a project</p>
<p>Private: Can only be called within the class it is declared<br />
Protected: Can only be in the same class from the same class or inherited classes</p>
<p>Friend: Can be called from any code in the same project or assembly</p>
<p>ProtectedFriend: Can be called from in its defined, derived, or procedures in the same project/assembly</p>
<p>Static Variables</p>
<p>Shadowing</p>
<p>Reference: <a href="http://msdn.microsoft.com/en-us/library/ms973875.aspx" target="_blank">http://msdn.microsoft.com/en-us/library/ms973875.aspx</a></p>
<!-- google_ad_section_end -->]]></content:encoded>
			<wfw:commentRss>http://www.blog.travisgneiting.com/2010/10/04/variable-scope/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

