<?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>Trent Jones &#187; Tips and Tricks</title>
	<atom:link href="http://www.trentjones.net/index.php/category/tips-and-tricks/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.trentjones.net</link>
	<description>DoSomething();</description>
	<lastBuildDate>Mon, 15 Mar 2010 19:27:32 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Split TFS2010 Collection in two</title>
		<link>http://www.trentjones.net/index.php/2010/03/split-tfs2010-collection-in-two/</link>
		<comments>http://www.trentjones.net/index.php/2010/03/split-tfs2010-collection-in-two/#comments</comments>
		<pubDate>Mon, 15 Mar 2010 19:25:25 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[Collections]]></category>
		<category><![CDATA[TFS2010]]></category>

		<guid isPermaLink="false">http://www.trentjones.net/index.php/2010/03/split-tfs2010-collection-in-two/</guid>
		<description><![CDATA[I kept reading online how you could split TFS Collections in Visual Studio Team System 2010 in 2 but really couldn’t find any information on how to do it so i went upon trying this myself.&#160; For instance, you may have a collection with projects A,B,C,D and you want to collections: one with A,B and [...]]]></description>
			<content:encoded><![CDATA[<p>I kept reading online how you could split TFS Collections in Visual Studio Team System 2010 in 2 but really couldn’t find any information on how to do it so i went upon trying this myself.&#160; For instance, you may have a collection with projects A,B,C,D and you want to collections: one with A,B and another with C,D.&#160; </p>
<ol>
<li><b>Detach the collection from TFS Admin Tool.</b></li>
<li>backing up the corresponding collection db via SQL Management Studio.&#160; (there is one db in sql per collection)</li>
<li>Copy and Paste the back-up and Rename it</li>
<li> “<b>Restore Database</b>” in Management Studio. Use new name with “TFS_&lt;YOURNAME&gt;”</li>
<li><b>Use TFS admin tool to identify existing collection to attach</b></li>
<li><b>Use TFS Admin tool to attach new collection db.\</b></li>
<li>Use VS Explorer to drop out projects not necessary in new collection</li>
</ol>
<p>SharePoint connectivity is a whole other issue/post</p>
<p>Any TFS Gurus out there have more information please let me know and I will update this post.&#160; I kinda thought there would be a command line tool to do this.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.trentjones.net/index.php/2010/03/split-tfs2010-collection-in-two/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ASP.NET 4.0 and Control IDs</title>
		<link>http://www.trentjones.net/index.php/2009/09/asp-net-4-0-and-control-ids/</link>
		<comments>http://www.trentjones.net/index.php/2009/09/asp-net-4-0-and-control-ids/#comments</comments>
		<pubDate>Fri, 18 Sep 2009 19:35:42 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Code Sample]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[codeproject]]></category>
		<category><![CDATA[.NET 4.0]]></category>
		<category><![CDATA[ASP.NET 4.0]]></category>
		<category><![CDATA[jQuery]]></category>

		<guid isPermaLink="false">http://www.trentjones.net/index.php/2009/09/asp-net-4-0-and-control-ids/</guid>
		<description><![CDATA[In .NET 4.0 there is a new option when adding controls to a page or user control: ClientIDMode.&#160; This property offers you four choices: Legacy, Static, Predictable, Inherit.&#160; Previously it was almost impossible to find the id of a control in a normal matter such as jQuery.&#160; Using Choosing Legacy will continue to issue an [...]]]></description>
			<content:encoded><![CDATA[<p>In .NET 4.0 there is a new option when adding controls to a page or user control: <strong>ClientIDMode</strong>.&#160; This property offers you four choices: Legacy, Static, Predictable, Inherit.&#160; Previously it was almost impossible to find the id of a control in a normal matter such as jQuery.&#160; Using </p>
<p>Choosing <strong>Legacy</strong> will continue to issue an ID in the same manner they were generated in previous version of ASP.NET, by concatenating the ID values of each parent naming container with the ID of the control.&#160; Setting the property to <strong>Static </strong>will use the exact value of the ID property of the server control.&#160; <strong>Predictable </strong>is used for controls that are data-bound controls such as repeater and also makes use of a <strong>ClientIDRowSuffix</strong> property.&#160; Using <strong>Inherit </strong>makes the control ID property use the setting of its parent control.</p>
<p>In the example below, two lists are created inside the ContentPlaceHolder of a page using the same DataSource. The first is using the default and the second uses the new property with <strong>Static </strong>set as the value.</p>
<pre class="brush: csharp;">
&lt;asp:Content ID=&quot;Content2&quot; ContentPlaceHolderID=&quot;ContentPlaceHolder1&quot; runat=&quot;server&quot;&gt;
    &lt;asp:XmlDataSource ID=&quot;LinkData&quot; runat=&quot;server&quot; XPath=&quot;Colors/Color&quot;&gt;
        &lt;Data&gt;
            &lt;Colors&gt;
                &lt;Color Name=&quot;Red&quot;/&gt;
                &lt;Color Name=&quot;Blue&quot;/&gt;
                &lt;Color Name=&quot;Yellow&quot;/&gt;
                &lt;Color Name=&quot;Green&quot; /&gt;
            &lt;/Colors&gt;
        &lt;/Data&gt;
    &lt;/asp:XmlDataSource&gt;
    &lt;asp:BulletedList ID=&quot;uxList&quot; DataSourceID=&quot;LinkData&quot; runat=&quot;server&quot; DataTextField=&quot;Name&quot; /&gt;
    &lt;asp:BulletedList ID=&quot;uxListStatic&quot; ClientIDMode=&quot;Static&quot; DataSourceID=&quot;LinkData&quot; runat=&quot;server&quot; DataTextField=&quot;Name&quot; /&gt;

    &lt;script type=&quot;text/javascript&quot;&gt;
        $(function() {
            $(&quot;#uxList&quot;).append(&quot;&lt;li&gt;Red&lt;/li&gt;&quot;);
            $(&quot;#uxListStatic&quot;).append(&quot;&lt;li&gt;Brown&lt;/li&gt;&quot;);
        });
    &lt;/script&gt;
&lt;/asp:Content&gt;
</pre>
<p>Here is the output of the page in HTML</p>
<pre class="brush: xml;">
&lt;div&gt;
    &lt;ul id=&quot;ctl00_ContentPlaceHolder1_uxList&quot;&gt;
        &lt;li&gt;Red&lt;/li&gt;&lt;li&gt;Blue&lt;/li&gt;&lt;li&gt;Yellow&lt;/li&gt;&lt;li&gt;Green&lt;/li&gt;
    &lt;/ul&gt;
    &lt;ul id=&quot;uxListStatic&quot;&gt;
        &lt;li&gt;Red&lt;/li&gt;&lt;li&gt;Blue&lt;/li&gt;&lt;li&gt;Yellow&lt;/li&gt;&lt;li&gt;Green&lt;/li&gt;
    &lt;/ul&gt;

    &lt;script type=&quot;text/javascript&quot;&gt;
    $(function() {
        $(&quot;#uxListStatic&quot;).append(&quot;&lt;li&gt;Brown&lt;/li&gt;&quot;);
    });
    &lt;/script&gt;
&lt;/div&gt;
</pre>
<p>And the corresponding view in the browser</p>
<pre class="brush: xml;">
•    Red
•    Blue
•    Yellow
•    Green

•    Red
•    Blue
•    Yellow
•    Green
•    Brown
</pre>
<p>Because of the generated tag on the first list jQuery can’t find the control to append to.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.trentjones.net/index.php/2009/09/asp-net-4-0-and-control-ids/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>VS 2010 and .NET 4.0 Series</title>
		<link>http://www.trentjones.net/index.php/2009/09/vs-2010-and-net-4-0-series/</link>
		<comments>http://www.trentjones.net/index.php/2009/09/vs-2010-and-net-4-0-series/#comments</comments>
		<pubDate>Wed, 16 Sep 2009 16:46:16 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[.NET 4.0]]></category>
		<category><![CDATA[VS 2010]]></category>

		<guid isPermaLink="false">http://www.trentjones.net/index.php/2009/09/vs-2010-and-net-4-0-series/</guid>
		<description><![CDATA[Link to a bunch of articles on upcoming features in .NET 4.0 and VS 2010 http://weblogs.asp.net/scottgu/archive/2009/08/25/vs-2010-and-net-4-series.aspx]]></description>
			<content:encoded><![CDATA[<p>Link to a bunch of articles on upcoming features in .NET 4.0 and VS 2010</p>
<p><a title="http://weblogs.asp.net/scottgu/archive/2009/08/25/vs-2010-and-net-4-series.aspx" href="http://weblogs.asp.net/scottgu/archive/2009/08/25/vs-2010-and-net-4-series.aspx">http://weblogs.asp.net/scottgu/archive/2009/08/25/vs-2010-and-net-4-series.aspx</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.trentjones.net/index.php/2009/09/vs-2010-and-net-4-0-series/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Auto-Start ASP.NET Applications</title>
		<link>http://www.trentjones.net/index.php/2009/09/auto-start-asp-net-applications/</link>
		<comments>http://www.trentjones.net/index.php/2009/09/auto-start-asp-net-applications/#comments</comments>
		<pubDate>Wed, 16 Sep 2009 16:35:37 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[.NET 4.0]]></category>
		<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[IIS]]></category>

		<guid isPermaLink="false">http://www.trentjones.net/index.php/2009/09/auto-start-asp-net-applications/</guid>
		<description><![CDATA[Scott Guthrie has an article up on his website discussing the new auto-start feature of web applications that will be available in IIS7.5 with ASP.NET 4.0.  I just learned about this last week at the Southern Fried Road Show. http://weblogs.asp.net/scottgu/archive/2009/09/15/auto-start-asp-net-applications-vs-2010-and-net-4-0-series.aspx]]></description>
			<content:encoded><![CDATA[<p><a href="http://weblogs.asp.net/scottgu">Scott Guthrie</a> has an article up on his website discussing the new auto-start feature of web applications that will be available in IIS7.5 with ASP.NET 4.0.  I just learned about this last week at the Southern Fried Road Show.</p>
<p><a title="http://weblogs.asp.net/scottgu/archive/2009/09/15/auto-start-asp-net-applications-vs-2010-and-net-4-0-series.aspx" href="http://weblogs.asp.net/scottgu/archive/2009/09/15/auto-start-asp-net-applications-vs-2010-and-net-4-0-series.aspx">http://weblogs.asp.net/scottgu/archive/2009/09/15/auto-start-asp-net-applications-vs-2010-and-net-4-0-series.aspx</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.trentjones.net/index.php/2009/09/auto-start-asp-net-applications/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>960 Grid System</title>
		<link>http://www.trentjones.net/index.php/2009/09/960-grid-system/</link>
		<comments>http://www.trentjones.net/index.php/2009/09/960-grid-system/#comments</comments>
		<pubDate>Tue, 15 Sep 2009 11:41:28 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Tips and Tricks]]></category>

		<guid isPermaLink="false">http://www.trentjones.net/index.php/2009/09/960-grid-system/</guid>
		<description><![CDATA[I am going to try and enlist the 960 Grid System on a website I am working on. &#8220;The 960 Grid System is an effort to streamline web development workflow by providing commonly used dimensions, based on a width of 960 pixels. There are two variants: 12 and 16 columns, which can be used separately [...]]]></description>
			<content:encoded><![CDATA[<p>I am going to try and enlist the 960 Grid System on a website I am working on.</p>
<p>&#8220;The 960 Grid System is an effort to streamline web development workflow by providing commonly used dimensions, based on a width of 960 pixels. There are two variants: 12 and 16 columns, which can be used separately or in tandem.&#8221;</p>
<p>http://960.gs/</p>
]]></content:encoded>
			<wfw:commentRss>http://www.trentjones.net/index.php/2009/09/960-grid-system/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>40+ open source apps and games</title>
		<link>http://www.trentjones.net/index.php/2009/09/40-open-source-apps-and-games/</link>
		<comments>http://www.trentjones.net/index.php/2009/09/40-open-source-apps-and-games/#comments</comments>
		<pubDate>Mon, 14 Sep 2009 18:30:53 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Tips and Tricks]]></category>

		<guid isPermaLink="false">http://www.trentjones.net/index.php/2009/09/40-open-source-apps-and-games/</guid>
		<description><![CDATA[Here is a list of apps and some games that are very useful.  There are a few I hadn&#8217;t heard of but will soon be installing. http://www.downloadsquad.com/2009/05/18/40-great-open-source-apps-and-games-to-trick-out-your-new-windows/]]></description>
			<content:encoded><![CDATA[<p>Here is a list of apps and some games that are very useful.  There are a few I hadn&#8217;t heard of but will soon be installing.</p>
<p><a href="http://www.downloadsquad.com/2009/05/18/40-great-open-source-apps-and-games-to-trick-out-your-new-windows/">http://www.downloadsquad.com/2009/05/18/40-great-open-source-apps-and-games-to-trick-out-your-new-windows/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.trentjones.net/index.php/2009/09/40-open-source-apps-and-games/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>IE and ContentEditable Attribute</title>
		<link>http://www.trentjones.net/index.php/2009/09/ie-and-contenteditable-attribute/</link>
		<comments>http://www.trentjones.net/index.php/2009/09/ie-and-contenteditable-attribute/#comments</comments>
		<pubDate>Tue, 01 Sep 2009 15:48:19 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Dont Forget]]></category>
		<category><![CDATA[Tips and Tricks]]></category>

		<guid isPermaLink="false">http://www.trentjones.net/?p=153</guid>
		<description><![CDATA[Ran into an issue today using jQuery with IE and setting ContentEditable=&#8217;true&#8217; on a click command. First I created a div with ContentEditable set to true without jquery and ran it in IE. Ok, it&#8217;s working. Now to try and add the attribute dynamically. I removed the attribute and replaced it with this bit of [...]]]></description>
			<content:encoded><![CDATA[<p>Ran into an issue today using jQuery with IE and setting ContentEditable=&#8217;true&#8217; on a click command.  First I created a div with ContentEditable set to true without jquery and ran it in IE. Ok, it&#8217;s working.  Now to try and add the attribute dynamically.  I removed the attribute and replaced it with this bit of javascript:</p>
<pre class="brush: js;">
$(function(){
$("#test").click(function() {
$(this).attr({ ContentEditable: "true" });
});
});
</pre>
<p>This did not work.  Even though IE would allow the Cap &#8220;C&#8221; to set to true without jQuery, it would not work in doing so dynamically.  Changing to:</p>
<pre class="brush: js;">
$(function(){
$("#test").click(function() {
$(this).attr({ contentEditable: "true" });
});
});
</pre>
<p>Works perfectly.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.trentjones.net/index.php/2009/09/ie-and-contenteditable-attribute/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Entity Framework Code Only option</title>
		<link>http://www.trentjones.net/index.php/2009/06/entity-framework-code-only-option/</link>
		<comments>http://www.trentjones.net/index.php/2009/06/entity-framework-code-only-option/#comments</comments>
		<pubDate>Fri, 12 Jun 2009 13:23:46 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[.NET]]></category>
		<category><![CDATA[.NET 4.0]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[Entity Framework]]></category>
		<category><![CDATA[Visual Studio 2010]]></category>

		<guid isPermaLink="false">http://www.trentjones.net/?p=149</guid>
		<description><![CDATA[.NET 4.0 and VS 2010 introduce a new feature for the Entity Framework called model first.  In addition, you will now be able to have a code only model. Written with POCOs and a simple class derived from ObjectContext and you are on the way&#8230; http://blogs.msdn.com/efdesign/archive/2009/06/10/code-only.aspx]]></description>
			<content:encoded><![CDATA[<p>.NET 4.0 and VS 2010 introduce a new feature for the Entity Framework called model first.  In addition, you will now be able to have a code only model. Written with POCOs and a simple class derived from ObjectContext and you are on the way&#8230;</p>
<p><a href="http://blogs.msdn.com/efdesign/archive/2009/06/10/code-only.aspx" target="_blank">http://blogs.msdn.com/efdesign/archive/2009/06/10/code-only.aspx</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.trentjones.net/index.php/2009/06/entity-framework-code-only-option/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using T4 to Generate Stored Procs for Entity Framework</title>
		<link>http://www.trentjones.net/index.php/2009/05/using-t4-to-generate-stored-procs-for-entity-framework/</link>
		<comments>http://www.trentjones.net/index.php/2009/05/using-t4-to-generate-stored-procs-for-entity-framework/#comments</comments>
		<pubDate>Mon, 11 May 2009 18:06:46 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[.NET]]></category>
		<category><![CDATA[Code Generation]]></category>
		<category><![CDATA[T4]]></category>

		<guid isPermaLink="false">http://www.trentjones.net/?p=141</guid>
		<description><![CDATA[T4 code generation has been on my short list of things to look into but keeps getting put off as i navigate down some other endless path.  Meanwhile, I found a nice article on using T4 to generate stored procs for CRUD operations for the Entity Framework. Entity Framework Stored Procedure Generation Thanks David.]]></description>
			<content:encoded><![CDATA[<p>T4 code generation has been on my short list of things to look into but keeps getting put off as i navigate down some other endless path.  Meanwhile, I found a nice article on using T4 to generate stored procs for CRUD operations for the Entity Framework.</p>
<p><a href="http://blogs.rev-net.com/ddewinter/2008/04/26/entity-framework-stored-procedure-generation/">Entity Framework Stored Procedure Generation</a></p>
<p>Thanks David.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.trentjones.net/index.php/2009/05/using-t4-to-generate-stored-procs-for-entity-framework/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Forms Authentication and Session Timeout</title>
		<link>http://www.trentjones.net/index.php/2009/05/forms-authentication-and-session-timeout/</link>
		<comments>http://www.trentjones.net/index.php/2009/05/forms-authentication-and-session-timeout/#comments</comments>
		<pubDate>Wed, 06 May 2009 15:08:23 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[.NET]]></category>
		<category><![CDATA[C#]]></category>

		<guid isPermaLink="false">http://www.trentjones.net/?p=136</guid>
		<description><![CDATA[Ran into an issue on a website where the Session was timing out yet the forms auth ticket was still valid which was causing errors. Here is one solution: http://dotnethitman.spaces.live.com/blog/cns!E149A8B1E1C25B14!210.entry The GU also mentions some of this in the post and in digging through all the comments. http://weblogs.asp.net/scottgu/archive/2005/11/08/430011.aspx]]></description>
			<content:encoded><![CDATA[<p>Ran into an issue on a website where the Session was timing out yet the forms auth ticket was still valid which was causing errors.  Here is one solution:<br />
<a href=" http://dotnethitman.spaces.live.com/blog/cns!E149A8B1E1C25B14!210.entry"></p>
<p>http://dotnethitman.spaces.live.com/blog/cns!E149A8B1E1C25B14!210.entry</a></p>
<p>The GU also mentions some of this in the post and in digging through all the comments.<br />
<a href="http://weblogs.asp.net/scottgu/archive/2005/11/08/430011.aspx">http://weblogs.asp.net/scottgu/archive/2005/11/08/430011.aspx</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.trentjones.net/index.php/2009/05/forms-authentication-and-session-timeout/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
