<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:copyright="http://blogs.law.harvard.edu/tech/rss" xmlns:image="http://purl.org/rss/1.0/modules/image/">
    <channel>
        <title>Ramona Eid</title>
        <link>http://geekswithblogs.net/intermark/Default.aspx</link>
        <description>[QueenOfTheWorkAround]  &amp;raquo;Twitter</description>
        <language>en-US</language>
        <copyright>intermark</copyright>
        <managingEditor>eid@intermark.com</managingEditor>
        <generator>Subtext Version 0.0.0.0</generator>
        <image>
            <title>Ramona Eid</title>
            <url>http://geekswithblogs.net/images/RSS2Image.gif</url>
            <link>http://geekswithblogs.net/intermark/Default.aspx</link>
            <width>77</width>
            <height>60</height>
        </image>
        <item>
            <title>Inject Pixels Into DOM</title>
            <link>http://geekswithblogs.net/intermark/archive/2012/05/09/inject-pixels-into-dom.aspx</link>
            <description>&lt;p&gt;Originally posted on: &lt;a href='http://geekswithblogs.net/intermark/archive/2012/05/09/inject-pixels-into-dom.aspx'&gt;http://geekswithblogs.net/intermark/archive/2012/05/09/inject-pixels-into-dom.aspx&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;font size="2"&gt;I was tasked with adding various &lt;strong&gt;Tracking Pixels&lt;/strong&gt; to the &lt;strong&gt;DOM&lt;/strong&gt; from an Unobtrusive JavaScript Library hosted in the Azure Cloud.&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size="2"&gt;It finally dawned on me that I did not have to go through the machinations of creating the pixel and appending it to the appropriate element in the DOM.&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size="2"&gt;All I really needed to accomplish was to have the pixel &lt;strong&gt;&lt;font style="background-color: #ffff00"&gt;&lt;font color="#ff0000"&gt;fire&lt;/font&gt; &lt;/font&gt;(meaning: send an HTTP Request to a remote Server)&lt;/strong&gt;, complete with its Query String values, which each Server on the other side needs in order to process Server-Side-Code before returning the pixel.&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size="2"&gt;It never matters whether the pixel actually &lt;strong&gt;&lt;font style="background-color: #ffff00" color="#ff0000"&gt;appears&lt;/font&gt;&lt;/strong&gt; on the page or not.  Delivering the &lt;strong&gt;&lt;font style="background-color: #ffff00" color="#ff0000"&gt;payload&lt;/font&gt;&lt;/strong&gt; is the only goal.&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size="2"&gt;So what is the &lt;strong&gt;[workaround]&lt;/strong&gt;?&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size="2"&gt;I rethought the creation of pixels and opted for a very quick method of creating many pixels at the same time:&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size="3"&gt;&lt;/font&gt;&lt;/p&gt;  &lt;pre style="border-bottom: #cecece 1px solid; border-left: #cecece 1px solid; padding-bottom: 5px; background-color: #fbfbfb; min-height: 40px; padding-left: 5px; width: 650px; padding-right: 5px; overflow: auto; border-top: #cecece 1px solid; border-right: #cecece 1px solid; padding-top: 5px"&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 12px"&gt;intermark.createImages = &lt;span style="color: #0000ff"&gt;function&lt;/span&gt; () {
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 12px"&gt;    &lt;span style="color: #0000ff"&gt;for&lt;/span&gt; (&lt;span style="color: #0000ff"&gt;var&lt;/span&gt; i = 0; i &amp;lt; &lt;span style="color: #0000ff"&gt;arguments&lt;/span&gt;.&lt;span style="color: #0000ff"&gt;length&lt;/span&gt;; i++) {
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 12px"&gt;        &lt;span style="color: #0000ff"&gt;var&lt;/span&gt; img = &lt;span style="color: #0000ff"&gt;new&lt;/span&gt; Image();
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 12px"&gt;        img.src = &lt;span style="color: #0000ff"&gt;arguments&lt;/span&gt;[i].&lt;span style="color: #0000ff"&gt;toString&lt;/span&gt;();
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 12px"&gt;    }
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 12px"&gt;};&lt;/pre&gt;&lt;/pre&gt;

&lt;pre&gt; &lt;/pre&gt;

&lt;pre&gt;&lt;font size="2" face="Calibri"&gt;And then I can call the function using the following for &lt;font style="background-color: #ffff00"&gt;&lt;strong&gt;any number of pixels&lt;/strong&gt;&lt;/font&gt; necessary:&lt;/font&gt;&lt;/pre&gt;

&lt;pre style="border-bottom: #cecece 1px solid; border-left: #cecece 1px solid; padding-bottom: 5px; background-color: #fbfbfb; min-height: 40px; padding-left: 5px; width: 650px; padding-right: 5px; overflow: auto; border-top: #cecece 1px solid; border-right: #cecece 1px solid; padding-top: 5px"&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 12px"&gt;&lt;span style="color: #0000ff"&gt;if&lt;/span&gt; (id &amp;gt; -1) {
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 12px"&gt;    intermark.createImages(pixel1Src, pixel2Src);
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 12px"&gt;}&lt;/pre&gt;&lt;/pre&gt;

&lt;pre&gt; &lt;/pre&gt;

&lt;pre&gt;&lt;font face="Calibri"&gt;&lt;font size="2"&gt;And &lt;strong&gt;Voila! Problem solved!&lt;/strong&gt;&lt;/font&gt;&lt;/font&gt;&lt;/pre&gt;

&lt;div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:839decb3-2710-40e9-b5de-690e3fe271e1" class="wlWriterEditableSmartContent"&gt;Technorati Tags: &lt;a href="http://technorati.com/tags/Google+Analytics" rel="tag"&gt;Google Analytics&lt;/a&gt;,&lt;a href="http://technorati.com/tags/Tracking+Pixels" rel="tag"&gt;Tracking Pixels&lt;/a&gt;,&lt;a href="http://technorati.com/tags/Unobtrusive+JavaScript" rel="tag"&gt;Unobtrusive JavaScript&lt;/a&gt;&lt;/div&gt;

&lt;div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:a4f4e3aa-10ce-426a-ab3d-8c06d2c3df92" class="wlWriterEditableSmartContent"&gt;LiveJournal Tags: &lt;a href="http://www.livejournal.com/interests.bml?int=Google+Analytics" rel="tag"&gt;Google Analytics&lt;/a&gt;,&lt;a href="http://www.livejournal.com/interests.bml?int=Tracking+Pixels" rel="tag"&gt;Tracking Pixels&lt;/a&gt;,&lt;a href="http://www.livejournal.com/interests.bml?int=Unobtrusive+JavaScript" rel="tag"&gt;Unobtrusive JavaScript&lt;/a&gt;&lt;/div&gt; &lt;img src="http://geekswithblogs.net/intermark/aggbug/150401.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>intermark</dc:creator>
            <guid>http://geekswithblogs.net/intermark/archive/2012/05/09/inject-pixels-into-dom.aspx</guid>
            <pubDate>Thu, 10 May 2012 02:56:00 GMT</pubDate>
            <wfw:comment>http://geekswithblogs.net/intermark/comments/150401.aspx</wfw:comment>
            <comments>http://geekswithblogs.net/intermark/archive/2012/05/09/inject-pixels-into-dom.aspx#feedback</comments>
            <wfw:commentRss>http://geekswithblogs.net/intermark/comments/commentRss/150401.aspx</wfw:commentRss>
        </item>
        <item>
            <title>Google Analytics Cross Domain Not Working</title>
            <link>http://geekswithblogs.net/intermark/archive/2011/08/17/google-analytics-cross-domain-not-working.aspx</link>
            <description>&lt;p&gt;Originally posted on: &lt;a href='http://geekswithblogs.net/intermark/archive/2011/08/17/google-analytics-cross-domain-not-working.aspx'&gt;http://geekswithblogs.net/intermark/archive/2011/08/17/google-analytics-cross-domain-not-working.aspx&lt;/a&gt;&lt;/p&gt;&lt;p&gt;After setting up the Cross Domain parameters properly, using &lt;strong&gt;&lt;font color="#0000ff"&gt;_setDomainName()&lt;/font&gt;&lt;/strong&gt;, &lt;strong&gt;&lt;font color="#0000ff"&gt;_setAllowHash()&lt;/font&gt;&lt;/strong&gt;, and &lt;strong&gt;&lt;font color="#0000ff"&gt;_setAllowLinker()&lt;/font&gt;&lt;/strong&gt;, and making sure to call the &lt;font color="#0000ff"&gt;&lt;strong&gt;_trackPageview()&lt;/strong&gt;&lt;/font&gt; &lt;strong&gt;&lt;font style="background-color: #ffff00"&gt;last&lt;/font&gt;&lt;/strong&gt;,  using ga_debug.js in Chrome, I was able to see that the AccountID and the SessionID were still changing upon navigating to the other Domain.&lt;/p&gt;  &lt;p&gt;This meant the cookies were not being shared across the Domains using the &lt;font color="#0000ff"&gt;&lt;strong&gt;_link()&lt;/strong&gt;&lt;/font&gt; method from Google Analytics Asynchronous Library.&lt;/p&gt;  &lt;p&gt;So what is the &lt;strong&gt;[workaround]&lt;/strong&gt;?&lt;/p&gt;  &lt;p&gt;After carefully studying how one would implement inline code to enable _link(), I realized I was missing a &lt;strong&gt;&lt;font style="background-color: #ffff00"&gt;return false&lt;/font&gt;&lt;/strong&gt; statement.  For inline code, the return false is used to prevent the Default Event of the anchor tag from occurring to the navigation source of the href attribute.  Using jQuery in an Unobtrusive JavaScript Library, without the return false statement, the _link() method just does not work:&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;$(&lt;font color="#ff0000"&gt;‘a’&lt;/font&gt;&lt;font color="#000000"&gt;).click(&lt;/font&gt;&lt;font color="#0000ff"&gt;function () &lt;font color="#000000"&gt;&lt;/font&gt;&lt;font color="#000000"&gt;{          &lt;br /&gt;&lt;/font&gt;     var &lt;/font&gt;&lt;font color="#000000"&gt;href = $(&lt;/font&gt;&lt;font color="#0000ff"&gt;this&lt;/font&gt;&lt;font color="#000000"&gt;).attr(&lt;font color="#ff0000"&gt;‘href’&lt;/font&gt;);         &lt;br /&gt;     if (href.indexOf(OtherDomainName) &amp;gt;  –1)  {         &lt;br /&gt;          _gaq.push([&lt;font color="#ff0000"&gt;‘_link’&lt;/font&gt;, href]); &lt;/font&gt;&lt;/p&gt;    &lt;p&gt;&lt;font color="#000000"&gt;          &lt;font color="#0000ff"&gt;return false;&lt;/font&gt;        &lt;br /&gt;     }         &lt;br /&gt;      &lt;font color="#0000ff"&gt;return &lt;/font&gt;&lt;font color="#000000"&gt;href&lt;/font&gt;;         &lt;br /&gt;});&lt;/font&gt;&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;And &lt;strong&gt;Voila!  Problem solved!&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/p&gt;  &lt;div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:5b93b646-702d-4770-8511-b68305e208a2" class="wlWriterEditableSmartContent"&gt;Technorati Tags: &lt;a href="http://technorati.com/tags/Google+Analytics" rel="tag"&gt;Google Analytics&lt;/a&gt;,&lt;a href="http://technorati.com/tags/Cross+Domain+Tracking" rel="tag"&gt;Cross Domain Tracking&lt;/a&gt;,&lt;a href="http://technorati.com/tags/_link()" rel="tag"&gt;_link()&lt;/a&gt;,&lt;a href="http://technorati.com/tags/Unobtrusive+JavaScript" rel="tag"&gt;Unobtrusive JavaScript&lt;/a&gt;&lt;/div&gt; Windows Live Tags: &lt;a href="http://windows.live.com/connect/tag/Google Analytics" rel="clubhouseTag"&gt;Google Analytics&lt;/a&gt;,&lt;a href="http://windows.live.com/connect/tag/_link()" rel="clubhouseTag"&gt;_link()&lt;/a&gt;,&lt;a href="http://windows.live.com/connect/tag/Cross Domain Tracking" rel="clubhouseTag"&gt;Cross Domain Tracking&lt;/a&gt;,&lt;a href="http://windows.live.com/connect/tag/Unobtrusive JavaScript" rel="clubhouseTag"&gt;Unobtrusive JavaScript&lt;/a&gt; &lt;img src="http://geekswithblogs.net/intermark/aggbug/146611.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>intermark</dc:creator>
            <guid>http://geekswithblogs.net/intermark/archive/2011/08/17/google-analytics-cross-domain-not-working.aspx</guid>
            <pubDate>Thu, 18 Aug 2011 01:41:00 GMT</pubDate>
            <wfw:comment>http://geekswithblogs.net/intermark/comments/146611.aspx</wfw:comment>
            <comments>http://geekswithblogs.net/intermark/archive/2011/08/17/google-analytics-cross-domain-not-working.aspx#feedback</comments>
            <slash:comments>1</slash:comments>
            <wfw:commentRss>http://geekswithblogs.net/intermark/comments/commentRss/146611.aspx</wfw:commentRss>
        </item>
        <item>
            <title>Keeper of the history&amp;hellip;&amp;hellip;&amp;hellip;.</title>
            <link>http://geekswithblogs.net/intermark/archive/2010/08/22/keeper-of-the-historyhelliphelliphellip.aspx</link>
            <description>&lt;p&gt;Originally posted on: &lt;a href='http://geekswithblogs.net/intermark/archive/2010/08/22/keeper-of-the-historyhelliphelliphellip.aspx'&gt;http://geekswithblogs.net/intermark/archive/2010/08/22/keeper-of-the-historyhelliphelliphellip.aspx&lt;/a&gt;&lt;/p&gt;&lt;p&gt;For &lt;strong&gt;Colorado State Soccer Association (CSSA)&lt;/strong&gt;, I suddenly realize I have become &lt;strong&gt;&lt;em&gt;“the Keeper of the history”!  &lt;/em&gt;&lt;/strong&gt;People who have been involved with CSSA as long as I have (30 years) have either retired or passed away.&lt;/p&gt;  &lt;p&gt;Okay, some historical facts:&lt;/p&gt;  &lt;p&gt;CSSA was founded in 1939.  It started with 6 Men’s teams which were mostly “ethnic” teams sponsored by Restaurants.&lt;/p&gt;  &lt;p&gt;Fred Ahmer of Vail, Colorado, convinced the late President Gerald Ford to become a Board Member of the Vail Valley Soccer Club.&lt;/p&gt;  &lt;p&gt;One of Colorado’s own, Dr. Bob Contiguglia , more affectionately known as “Dr. Bob”, became President of US Soccer.  Dr. Bob has previously been the President of US Youth Soccer.  He had also founded Cherry Creek Soccer Association (now known as Storm), and had been President of Colorado Youth Soccer Association (CSYSA, now known as CYS).  Dr. Bob played college ball at Columbia University in New York, and then played on adult teams for Colorado State Soccer Association (CSSA).  Jon DeStefano and Ed Eid both served on his election committee when he ran for US Soccer President.&lt;/p&gt;  &lt;p&gt;This logo was designed by my late husband, Edward Eid:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://gwb.blob.core.windows.net/intermark/Windows-Live-Writer/Keeperofthehistory_10423/cssalogo_2.gif"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="cssalogo - click to see full picture" border="0" alt="cssalogo - click to see full picture" src="http://gwb.blob.core.windows.net/intermark/Windows-Live-Writer/Keeperofthehistory_10423/cssalogo_thumb.gif" width="219" height="184" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;It is an awesome logo, which captures the “spirit of the mountains”, which is Colorado!&lt;/p&gt;  &lt;p&gt;However, what people don’t know is that Ed was born in Cairo, Egypt, and came to the United States in 1958.  Those four “mountains” actually represent the four pyramids of Giza.  Ed had many fond memories of climbing the pyramids, and of racing horses across the desert towards the pyramids.  When he came to Colorado, he fell in love with the mountains.  His love of the pyramids and of the Colorado mountains was synonymous!&lt;/p&gt;  &lt;p&gt;I later changed the logo somewhat, with Ed’s approval, for publishing on the Web in 1997 to:&lt;/p&gt;  &lt;p&gt;&lt;a href="http://gwb.blob.core.windows.net/intermark/Windows-Live-Writer/Keeperofthehistory_10423/cssalogo2_2.gif"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="cssalogo2 - click to see full picture" border="0" alt="cssalogo2 - click to see full picture" src="http://gwb.blob.core.windows.net/intermark/Windows-Live-Writer/Keeperofthehistory_10423/cssalogo2_thumb.gif" width="232" height="195" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;Edward Eid was a member of the Colorado State Soccer Association BOT from 1985 until 1997 when he assumed the General Manager position (which he held until his death in 2006).  While on the CSSA BOT, Ed held almost every position, including President.  He was also Vice-President of Region IV for USASA.  He also owned a professional soccer team that won many national championships, the Colorado Comets.  In 1986 the Colorado Comets played the Canadian National Team and barely lost 2-1 to them at the Air Force Academy in Colorado Springs.  The Canadian National  Team was doing high altitude training in Colorado Springs in preparation for the upcoming World Cup in Mexico City.&lt;/p&gt;  &lt;p&gt;April Heinrichs, former US Women’s Head Coach, and Captain of the first Women’s World Cup Championship team, played on Ed’s Bandits Youth Team.  Ed and April are both in the Colorado Soccer Hall of Fame.&lt;/p&gt;  &lt;p&gt;In 1991 Ed Eid took two separate soccer teams on two separate trips to the then Soviet Union.  The first trip also included a stop in Belgrade Yugoslavia to see the Partisans play Red Star.  One of the soccer players in that first trip was Chino Melendez.  The very next year both the Soviet Union and Yugoslavia ceased to exist as nations.  Ed was given a citation by the Soviet Union and by his native country of Egypt as being “An Ambassador of Peace for Soccer”.  One of Ed’s favorite sayings was, &lt;em&gt;&lt;strong&gt;“What is the first thing that breaks out when war stops around the world?  It’s not peace, because that takes awhile.  It’s a soccer game.”&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;  &lt;p&gt;After Ed’s death at the World Cup in Munich, Germany, in 2006, Senator Ken Salazar of Colorado read, on the floor of the US Senate, &lt;a href="http://ramona.webhost4life.com/documents/July17_2006_CongressionalRecord_SenKenSalazar_109thCongress.pdf.pdf"&gt;a tribute to Ed into the Congressional Record&lt;/a&gt; praising him for his efforts towards peace using the vehicle of soccer.&lt;/p&gt;  &lt;p&gt;There is so much more!&lt;/p&gt;  &lt;div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px"&gt;Technorati Tags: &lt;a href="http://technorati.com/tags/Colorado+State+Soccer+Association" rel="tag"&gt;Colorado State Soccer Association&lt;/a&gt;,&lt;a href="http://technorati.com/tags/CSSA" rel="tag"&gt;CSSA&lt;/a&gt;,&lt;a href="http://technorati.com/tags/Soccer" rel="tag"&gt;Soccer&lt;/a&gt;&lt;/div&gt; &lt;img src="http://geekswithblogs.net/intermark/aggbug/145119.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>intermark</dc:creator>
            <guid>http://geekswithblogs.net/intermark/archive/2010/08/22/keeper-of-the-historyhelliphelliphellip.aspx</guid>
            <pubDate>Sun, 22 Aug 2010 23:13:00 GMT</pubDate>
            <wfw:comment>http://geekswithblogs.net/intermark/comments/145119.aspx</wfw:comment>
            <comments>http://geekswithblogs.net/intermark/archive/2010/08/22/keeper-of-the-historyhelliphelliphellip.aspx#feedback</comments>
            <wfw:commentRss>http://geekswithblogs.net/intermark/comments/commentRss/145119.aspx</wfw:commentRss>
        </item>
        <item>
            <title>Dynamically change Body Background-image!</title>
            <link>http://geekswithblogs.net/intermark/archive/2009/12/13/dynamically-change-body-background-image.aspx</link>
            <description>&lt;p&gt;Originally posted on: &lt;a href='http://geekswithblogs.net/intermark/archive/2009/12/13/dynamically-change-body-background-image.aspx'&gt;http://geekswithblogs.net/intermark/archive/2009/12/13/dynamically-change-body-background-image.aspx&lt;/a&gt;&lt;/p&gt;&lt;p&gt;What if you need to dynamically change the Body Background-image based on whether the Page IsPostback?  You have a CSS Stylesheet for the page, and that Stylesheet has a background-image defined for the body tag.&lt;/p&gt;  &lt;p&gt;So what is the &lt;strong&gt;[workaround]&lt;/strong&gt;?&lt;/p&gt;  &lt;p&gt;You first must define the body tag on the page as a server control.  Then you can access the body control via code in your page:&lt;/p&gt;  &lt;pre style="border-bottom: #cecece 1px solid; border-left: #cecece 1px solid; padding-bottom: 5px; background-color: #fbfbfb; min-height: 40px; padding-left: 5px; width: 484px; padding-right: 5px; height: 228px; overflow: auto; border-top: #cecece 1px solid; border-right: #cecece 1px solid; padding-top: 5px"&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt;  1: &lt;span style="color: #0000ff"&gt;protected&lt;/span&gt; void Page_Load(&lt;span style="color: #0000ff"&gt;object&lt;/span&gt; sender, EventArgs e)
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt;  2: {
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt;  3: 	&lt;span style="color: #0000ff"&gt;if&lt;/span&gt; (!IsPostBack)
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt;  4:         {
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt;  5:             var rnd = &lt;span style="color: #0000ff"&gt;new&lt;/span&gt; Random();
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt;  6:             // the background images are incrementally named: background1,png, background2.png, etc.
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt;  7:             // the Random number &lt;span style="color: #0000ff"&gt;is&lt;/span&gt; seeded &lt;span style="color: #0000ff"&gt;with&lt;/span&gt; 1 &lt;span style="color: #0000ff"&gt;and&lt;/span&gt; the maxNum &lt;span style="color: #0000ff"&gt;is&lt;/span&gt; (the number &lt;span style="color: #0000ff"&gt;of&lt;/span&gt; background images + 1)
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt;  8:             int rndInt = rnd.&lt;span style="color: #0000ff"&gt;Next&lt;/span&gt;(1,4);
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt;  9:             &lt;span style="color: #0000ff"&gt;string&lt;/span&gt; imagePath = &lt;span style="color: #0000ff"&gt;String&lt;/span&gt;.Format("&lt;span style="color: #8b0000"&gt;background-image: url('../../images/background{0}.png')&lt;/span&gt;", rndInt);
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt; 10:             // the body tag &lt;span style="color: #0000ff"&gt;on&lt;/span&gt; the aspx page must be: &amp;lt;body id="&lt;span style="color: #8b0000"&gt;body1&lt;/span&gt;" runat="&lt;span style="color: #8b0000"&gt;server&lt;/span&gt;"&amp;gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt; 11:             this.body1.Attributes.Add("&lt;span style="color: #8b0000"&gt;style&lt;/span&gt;", imagePath);
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt; 12:         }
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt; 13:         &lt;span style="color: #0000ff"&gt;else&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt; 14:         {
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt; 15:             // this will revert back &lt;span style="color: #0000ff"&gt;to&lt;/span&gt; the background image defined &lt;span style="color: #0000ff"&gt;in&lt;/span&gt; the stylesheet    
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt; 16:             this.body1.Attributes.Remove("&lt;span style="color: #8b0000"&gt;style&lt;/span&gt;");
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt; 17:         }
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt; 18: }&lt;/pre&gt;&lt;/pre&gt;

&lt;p&gt;And &lt;strong&gt;Voila!  Problem solved!&lt;/strong&gt;&lt;/p&gt;

&lt;div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:ef694af0-c7a1-4802-b549-0bca0834fa2d" class="wlWriterEditableSmartContent"&gt;Technorati Tags: &lt;a href="http://technorati.com/tags/ASP.NET+2.0" rel="tag"&gt;ASP.NET 2.0&lt;/a&gt;,&lt;a href="http://technorati.com/tags/Visual+Studio+2008" rel="tag"&gt;Visual Studio 2008&lt;/a&gt;,&lt;a href="http://technorati.com/tags/VS2008" rel="tag"&gt;VS2008&lt;/a&gt;,&lt;a href="http://technorati.com/tags/C%23" rel="tag"&gt;C#&lt;/a&gt;&lt;/div&gt; &lt;img src="http://geekswithblogs.net/intermark/aggbug/145118.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>intermark</dc:creator>
            <guid>http://geekswithblogs.net/intermark/archive/2009/12/13/dynamically-change-body-background-image.aspx</guid>
            <pubDate>Mon, 14 Dec 2009 00:11:00 GMT</pubDate>
            <wfw:comment>http://geekswithblogs.net/intermark/comments/145118.aspx</wfw:comment>
            <comments>http://geekswithblogs.net/intermark/archive/2009/12/13/dynamically-change-body-background-image.aspx#feedback</comments>
            <wfw:commentRss>http://geekswithblogs.net/intermark/comments/commentRss/145118.aspx</wfw:commentRss>
        </item>
        <item>
            <title>ReportViewer local &amp;ndash; rdlc &amp;ndash; handle subreports with multiple pages and parameters</title>
            <link>http://geekswithblogs.net/intermark/archive/2009/10/09/reportviewer-local-ndash-rdlc-ndash-handle-subreports-with-multiple-pages.aspx</link>
            <description>&lt;p&gt;Originally posted on: &lt;a href='http://geekswithblogs.net/intermark/archive/2009/10/09/reportviewer-local-ndash-rdlc-ndash-handle-subreports-with-multiple-pages.aspx'&gt;http://geekswithblogs.net/intermark/archive/2009/10/09/reportviewer-local-ndash-rdlc-ndash-handle-subreports-with-multiple-pages.aspx&lt;/a&gt;&lt;/p&gt;&lt;pre&gt; &lt;/pre&gt;

&lt;pre style="border-bottom: #cecece 1px solid; border-left: #cecece 1px solid; padding-bottom: 5px; background-color: #fbfbfb; min-height: 40px; padding-left: 5px; width: 486px; padding-right: 5px; height: 251px; overflow: auto; border-top: #cecece 1px solid; border-right: #cecece 1px solid; padding-top: 5px"&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt;  1: &lt;span style="color: #0000ff"&gt;using&lt;/span&gt; System;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt;  2: &lt;span style="color: #0000ff"&gt;using&lt;/span&gt; System.Collections;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt;  3: &lt;span style="color: #0000ff"&gt;using&lt;/span&gt; System.Configuration;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt;  4: &lt;span style="color: #0000ff"&gt;using&lt;/span&gt; System.Data;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt;  5: &lt;span style="color: #0000ff"&gt;using&lt;/span&gt; System.Linq;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt;  6: &lt;span style="color: #0000ff"&gt;using&lt;/span&gt; System.Web;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt;  7: &lt;span style="color: #0000ff"&gt;using&lt;/span&gt; System.Web.Security;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt;  8: &lt;span style="color: #0000ff"&gt;using&lt;/span&gt; System.Web.UI;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt;  9: &lt;span style="color: #0000ff"&gt;using&lt;/span&gt; System.Web.UI.HtmlControls;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt; 10: &lt;span style="color: #0000ff"&gt;using&lt;/span&gt; System.Web.UI.WebControls;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt; 11: &lt;span style="color: #0000ff"&gt;using&lt;/span&gt; System.Web.UI.WebControls.WebParts;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt; 12: &lt;span style="color: #0000ff"&gt;using&lt;/span&gt; System.Xml.Linq;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt; 13: &lt;span style="color: #0000ff"&gt;using&lt;/span&gt; Microsoft.Reporting.WebForms;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt; 14: &lt;span style="color: #0000ff"&gt;using&lt;/span&gt; Rpt = SchoolDistrict.Registration.Reports; 
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt; 15: 
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt; 16: &lt;span style="color: #0000ff"&gt;public&lt;/span&gt; partial &lt;span style="color: #0000ff"&gt;class&lt;/span&gt; Reports_RegistrationReport : System.Web.UI.Page
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt; 17: {
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt; 18:     &lt;span style="color: #0000ff"&gt;protected&lt;/span&gt; &lt;span style="color: #0000ff"&gt;void&lt;/span&gt; Page_Load(&lt;span style="color: #0000ff"&gt;object&lt;/span&gt; sender, EventArgs e)
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt; 19:     {
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt; 20:         &lt;span style="color: #008000"&gt;//Workaround to allow the horizontal scroll bar to show.&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt; 21:         &lt;span style="color: #008000"&gt;//http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=2803199&amp;amp;SiteID=1&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt; 22:         ReportViewer1.Style.Add("&lt;span style="color: #8b0000"&gt;margin-bottom&lt;/span&gt;", "&lt;span style="color: #8b0000"&gt;26px&lt;/span&gt;");
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt; 23:     }
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt; 24:     &lt;span style="color: #808080"&gt;/// &amp;lt;summary&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt; 25:     &lt;span style="color: #808080"&gt;/// Event handler for the btnGenerateReport_Click event&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt; 26:     &lt;span style="color: #808080"&gt;/// &amp;lt;/summary&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt; 27:     &lt;span style="color: #808080"&gt;/// &amp;lt;param name="sender"&amp;gt;&amp;lt;/param&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt; 28:     &lt;span style="color: #808080"&gt;/// &amp;lt;param name="e"&amp;gt;&amp;lt;/param&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt; 29:     &lt;span style="color: #0000ff"&gt;protected&lt;/span&gt; &lt;span style="color: #0000ff"&gt;void&lt;/span&gt; btnGenerateReport_Click(&lt;span style="color: #0000ff"&gt;object&lt;/span&gt; sender, EventArgs e)
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt; 30:     {
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt; 31:         SetSchoolAndClassSessionKeys();
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt; 32:         &lt;span style="color: #0000ff"&gt;this&lt;/span&gt;.ReportViewer1.LocalReport.SubreportProcessing += &lt;span style="color: #0000ff"&gt;new&lt;/span&gt; SubreportProcessingEventHandler(LocalReport_SubreportProcessing);
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt; 33:         ReportViewer1.LocalReport.Refresh();
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt; 34:     } 
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt; 35: 
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt; 36:     &lt;span style="color: #0000ff"&gt;void&lt;/span&gt; LocalReport_SubreportProcessing(&lt;span style="color: #0000ff"&gt;object&lt;/span&gt; sender, SubreportProcessingEventArgs e)
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt; 37:     {
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt; 38:         &lt;span style="color: #0000ff"&gt;int&lt;/span&gt; schoolID;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt; 39:         &lt;span style="color: #0000ff"&gt;string&lt;/span&gt; schoolName;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt; 40:         &lt;span style="color: #0000ff"&gt;int&lt;/span&gt; classID;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt; 41:         &lt;span style="color: #0000ff"&gt;string&lt;/span&gt; className;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt; 42:         &lt;span style="color: #008000"&gt;//Converts SessionKeys to appropriate values to pass to methods&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt; 43:         GetSchoolAndClassSessionKeys(&lt;span style="color: #0000ff"&gt;out&lt;/span&gt; schoolID, &lt;span style="color: #0000ff"&gt;out&lt;/span&gt; schoolName, &lt;span style="color: #0000ff"&gt;out&lt;/span&gt; classID, &lt;span style="color: #0000ff"&gt;out&lt;/span&gt; className); 
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt; 44: 
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt; 45:         &lt;span style="color: #008000"&gt;//Determines which SubReport is being processed&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt; 46:         &lt;span style="color: #0000ff"&gt;int&lt;/span&gt; reportPath = GetSubReportPathCase(e); 
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt; 47: 
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt; 48:         &lt;span style="color: #0000ff"&gt;switch&lt;/span&gt; (reportPath)
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt; 49:         {
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt; 50:             &lt;span style="color: #0000ff"&gt;case&lt;/span&gt; 1:
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt; 51:                 e.DataSources.Add(&lt;span style="color: #0000ff"&gt;new&lt;/span&gt; ReportDataSource("&lt;span style="color: #8b0000"&gt;Registration&lt;/span&gt;", &lt;span style="color: #0000ff"&gt;new&lt;/span&gt; Rpt.ReportManager().GetRegistrationRecordPctBySchool(
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt; 52:                     schoolID, schoolName, classID, className)));
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt; 53:                 &lt;span style="color: #0000ff"&gt;break&lt;/span&gt;;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt; 54:             &lt;span style="color: #0000ff"&gt;case&lt;/span&gt; 2:
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt; 55:                 e.DataSources.Add(&lt;span style="color: #0000ff"&gt;new&lt;/span&gt; ReportDataSource("&lt;span style="color: #8b0000"&gt;Registration&lt;/span&gt;", &lt;span style="color: #0000ff"&gt;new&lt;/span&gt; Rpt.ReportManager().GetRegistrationRecordPctBySchoolDistrict(
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt; 56:                     schoolID, schoolName, classID, className)));
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt; 57:                 &lt;span style="color: #0000ff"&gt;break&lt;/span&gt;;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt; 58:             &lt;span style="color: #0000ff"&gt;case&lt;/span&gt; 3:
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt; 59:                 e.DataSources.Add(&lt;span style="color: #0000ff"&gt;new&lt;/span&gt; ReportDataSource("&lt;span style="color: #8b0000"&gt;Registration&lt;/span&gt;", &lt;span style="color: #0000ff"&gt;new&lt;/span&gt; Rpt.ReportManager().GetRegistrationRecordComments(
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt; 60:                     schoolID, schoolName, classID, className)));
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt; 61:                 &lt;span style="color: #0000ff"&gt;break&lt;/span&gt;;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt; 62:             &lt;span style="color: #0000ff"&gt;default&lt;/span&gt;:
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt; 63:                 &lt;span style="color: #0000ff"&gt;break&lt;/span&gt;;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt; 64:         }
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt; 65:         &lt;span style="color: #808080"&gt;////Guru's code&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt; 66:         &lt;span style="color: #008000"&gt;//e.DataSources.Add(new ReportDataSource("Registration", new Rpt.ReportManager().GetRegistrationRecord(&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt; 67:         &lt;span style="color: #008000"&gt;//    int.Parse(Session["SchoolNameKey"].ToString()),&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt; 68:         &lt;span style="color: #008000"&gt;//    Session["SchoolName"] as string, int.Parse(Session["ClassNameKey"].ToString()),&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt; 69:         &lt;span style="color: #008000"&gt;//    Session["ClassName"] as string))); &lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt; 70: 
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt; 71:         &lt;span style="color: #008000"&gt;//throw new NotImplementedException();&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt; 72:         &lt;span style="color: #008000"&gt;//ReportViewer1.LocalReport.Render("PDF",&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt; 73:     } 
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt; 74: 
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt; 75:     &lt;span style="color: #808080"&gt;/// &amp;lt;summary&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt; 76:     &lt;span style="color: #808080"&gt;/// Determines which SubReport is being processed&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt; 77:     &lt;span style="color: #808080"&gt;/// &amp;lt;/summary&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt; 78:     &lt;span style="color: #808080"&gt;/// &amp;lt;param name="e"&amp;gt;&amp;lt;/param&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt; 79:     &lt;span style="color: #808080"&gt;/// &amp;lt;returns&amp;gt;&amp;lt;/returns&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt; 80:     &lt;span style="color: #0000ff"&gt;private&lt;/span&gt; &lt;span style="color: #0000ff"&gt;static&lt;/span&gt; &lt;span style="color: #0000ff"&gt;int&lt;/span&gt; GetSubReportPathCase(SubreportProcessingEventArgs e)
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt; 81:     {
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt; 82:         &lt;span style="color: #008000"&gt;//Determines which SubReport is being processed&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt; 83:         &lt;span style="color: #0000ff"&gt;int&lt;/span&gt; reportPath = 0; 
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt; 84: 
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt; 85:         &lt;span style="color: #0000ff"&gt;if&lt;/span&gt; (e.ReportPath == "&lt;span style="color: #8b0000"&gt;PctBySchool&lt;/span&gt;")
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt; 86:         {
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt; 87:             reportPath = 1;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt; 88:         }
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt; 89:         &lt;span style="color: #0000ff"&gt;else&lt;/span&gt; &lt;span style="color: #0000ff"&gt;if&lt;/span&gt; (e.ReportPath == "&lt;span style="color: #8b0000"&gt;PctBySchoolDistrict&lt;/span&gt;")
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt; 90:         {
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt; 91:             reportPath = 2;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt; 92:         }
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt; 93:         &lt;span style="color: #0000ff"&gt;else&lt;/span&gt; &lt;span style="color: #0000ff"&gt;if&lt;/span&gt; (e.ReportPath == "&lt;span style="color: #8b0000"&gt;Comments&lt;/span&gt;")
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt; 94:         {
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt; 95:             reportPath = 3;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt; 96:         }
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt; 97:         &lt;span style="color: #0000ff"&gt;else&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt; 98:         {
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt; 99:         }
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt;100:         &lt;span style="color: #0000ff"&gt;return&lt;/span&gt; reportPath;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt;101:     } 
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt;102: 
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt;103:     &lt;span style="color: #808080"&gt;/// &amp;lt;summary&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt;104:     &lt;span style="color: #808080"&gt;/// Converts SessionKeys to appropriate values to pass to methods&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt;105:     &lt;span style="color: #808080"&gt;/// &amp;lt;/summary&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt;106:     &lt;span style="color: #808080"&gt;/// &amp;lt;param name="schoolID"&amp;gt;passed in as 0&amp;lt;/param&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt;107:     &lt;span style="color: #808080"&gt;/// &amp;lt;param name="schoolName"&amp;gt;passed in as empty string&amp;lt;/param&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt;108:     &lt;span style="color: #808080"&gt;/// &amp;lt;param name="classID"&amp;gt;passed in as 0&amp;lt;/param&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt;109:     &lt;span style="color: #808080"&gt;/// &amp;lt;param name="className"&amp;gt;passed in as empty string&amp;lt;/param&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt;110:     &lt;span style="color: #0000ff"&gt;private&lt;/span&gt; &lt;span style="color: #0000ff"&gt;void&lt;/span&gt; GetSchoolAndClassSessionKeys(&lt;span style="color: #0000ff"&gt;out&lt;/span&gt; &lt;span style="color: #0000ff"&gt;int&lt;/span&gt; schoolID, &lt;span style="color: #0000ff"&gt;out&lt;/span&gt; &lt;span style="color: #0000ff"&gt;string&lt;/span&gt; schoolName, &lt;span style="color: #0000ff"&gt;out&lt;/span&gt; &lt;span style="color: #0000ff"&gt;int&lt;/span&gt; classID, &lt;span style="color: #0000ff"&gt;out&lt;/span&gt; &lt;span style="color: #0000ff"&gt;string&lt;/span&gt; className)
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt;111:     {
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt;112:         &lt;span style="color: #008000"&gt;//Converts SessionKeys to appropriate values to pass to methods&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt;113:         &lt;span style="color: #0000ff"&gt;int&lt;/span&gt; badValue; 
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt;114: 
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt;115:         &lt;span style="color: #0000ff"&gt;if&lt;/span&gt; (&lt;span style="color: #0000ff"&gt;int&lt;/span&gt;.TryParse(Session["&lt;span style="color: #8b0000"&gt;SchoolNameKey&lt;/span&gt;"].ToString(), &lt;span style="color: #0000ff"&gt;out&lt;/span&gt; badValue))
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt;116:         {
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt;117:             schoolID = &lt;span style="color: #0000ff"&gt;int&lt;/span&gt;.Parse(Session["&lt;span style="color: #8b0000"&gt;SchoolNameKey&lt;/span&gt;"].ToString());
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt;118:         }
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt;119:         &lt;span style="color: #0000ff"&gt;else&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt;120:         {
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt;121:             schoolID = 0;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt;122:         } 
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt;123: 
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt;124:         schoolName = Session["&lt;span style="color: #8b0000"&gt;SchoolName&lt;/span&gt;"].ToString(); 
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt;125: 
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt;126:         &lt;span style="color: #0000ff"&gt;if&lt;/span&gt; (&lt;span style="color: #0000ff"&gt;int&lt;/span&gt;.TryParse(Session["&lt;span style="color: #8b0000"&gt;ClassNameKey&lt;/span&gt;"].ToString(), &lt;span style="color: #0000ff"&gt;out&lt;/span&gt; badValue))
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt;127:         {
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt;128:             classID = &lt;span style="color: #0000ff"&gt;int&lt;/span&gt;.Parse(Session["&lt;span style="color: #8b0000"&gt;ClassNameKey&lt;/span&gt;"].ToString());
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt;129:         }
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt;130:         &lt;span style="color: #0000ff"&gt;else&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt;131:         {
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt;132:             classID = 0;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt;133:         } 
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt;134: 
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt;135:         className = Session["&lt;span style="color: #8b0000"&gt;ClassName&lt;/span&gt;"].ToString();
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt;136:     } 
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt;137: 
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt;138:     &lt;span style="color: #808080"&gt;/// &amp;lt;summary&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt;139:     &lt;span style="color: #808080"&gt;/// Method to Set or Reset the Session Keys for the School/Class based on the values in two&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt;140:     &lt;span style="color: #808080"&gt;/// Ajax Cascading Drop-Down Lists.&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt;141:     &lt;span style="color: #808080"&gt;/// &amp;lt;/summary&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt;142:     &lt;span style="color: #0000ff"&gt;private&lt;/span&gt; &lt;span style="color: #0000ff"&gt;void&lt;/span&gt; SetSchoolAndClassSessionKeys()
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt;143:     {
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt;144:         &lt;span style="color: #0000ff"&gt;if&lt;/span&gt; (!((&lt;span style="color: #0000ff"&gt;string&lt;/span&gt;.IsNullOrEmpty(ddlSchoolName.SelectedValue)) || (&lt;span style="color: #0000ff"&gt;string&lt;/span&gt;.IsNullOrEmpty(ddlClassName.SelectedValue))))
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt;145:         {
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt;146:             Session[ReportKeys.SchoolNameID] = ddlSchoolName.SelectedValue;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt;147:             Session[ReportKeys.SchoolName] = ddlSchoolName.SelectedItem.ToString();
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt;148:             Session[ReportKeys.ClassNameID] = ddlClassName.SelectedValue;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt;149:             Session[ReportKeys.ClassName] = ddlClassName.SelectedItem.ToString(); 
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt;150: 
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt;151:         }
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt;152:         &lt;span style="color: #0000ff"&gt;else&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt;153:         {
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt;154:             Session[ReportKeys.SchoolNameID] = &lt;span style="color: #0000ff"&gt;string&lt;/span&gt;.Empty;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt;155:             Session[ReportKeys.SchoolName] = &lt;span style="color: #0000ff"&gt;string&lt;/span&gt;.Empty;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt;156:             Session[ReportKeys.ClassNameID] = &lt;span style="color: #0000ff"&gt;string&lt;/span&gt;.Empty;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt;157:             Session[ReportKeys.ClassName] = &lt;span style="color: #0000ff"&gt;string&lt;/span&gt;.Empty; 
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt;158: 
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt;159:             &lt;span style="color: #008000"&gt;//ReportViewer1.LocalReport.Refresh();&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt;160:         }
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt;161:     } 
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt;162: 
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt;163:     &lt;span style="color: #808080"&gt;/// &amp;lt;summary&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt;164:     &lt;span style="color: #808080"&gt;/// Event Handler for the ReportViewer1 Refresh Button&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt;165:     &lt;span style="color: #808080"&gt;/// &amp;lt;/summary&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt;166:     &lt;span style="color: #808080"&gt;/// &amp;lt;param name="sender"&amp;gt;&amp;lt;/param&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt;167:     &lt;span style="color: #808080"&gt;/// &amp;lt;param name="e"&amp;gt;&amp;lt;/param&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt;168:     &lt;span style="color: #0000ff"&gt;protected&lt;/span&gt; &lt;span style="color: #0000ff"&gt;void&lt;/span&gt; ReportViewer1_ReportRefresh(&lt;span style="color: #0000ff"&gt;object&lt;/span&gt; sender, System.ComponentModel.CancelEventArgs e)
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt;169:     {
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt;170:         btnGenerateReport_Click(sender, e);
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt;171:     }
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt;172: } 
&lt;/pre&gt;&lt;pre style="background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,'Courier New',courier,monospace; font-size: 10px"&gt;173: &lt;/pre&gt;&lt;/pre&gt;

&lt;pre&gt;And &lt;strong&gt;Voila!&lt;/strong&gt;&lt;/pre&gt;

&lt;div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px"&gt;Technorati Tags: &lt;a href="http://technorati.com/tags/Visual+Studio+2008" rel="tag"&gt;Visual Studio 2008&lt;/a&gt;,&lt;a href="http://technorati.com/tags/ReportViewer+local" rel="tag"&gt;ReportViewer local&lt;/a&gt;,&lt;a href="http://technorati.com/tags/ReportViewer" rel="tag"&gt;ReportViewer&lt;/a&gt;,&lt;a href="http://technorati.com/tags/rdlc" rel="tag"&gt;rdlc&lt;/a&gt;,&lt;a href="http://technorati.com/tags/subreports" rel="tag"&gt;subreports&lt;/a&gt;,&lt;a href="http://technorati.com/tags/multi-page" rel="tag"&gt;multi-page&lt;/a&gt;,&lt;a href="http://technorati.com/tags/parameters" rel="tag"&gt;parameters&lt;/a&gt;&lt;/div&gt; &lt;img src="http://geekswithblogs.net/intermark/aggbug/145117.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>intermark</dc:creator>
            <guid>http://geekswithblogs.net/intermark/archive/2009/10/09/reportviewer-local-ndash-rdlc-ndash-handle-subreports-with-multiple-pages.aspx</guid>
            <pubDate>Fri, 09 Oct 2009 06:46:00 GMT</pubDate>
            <wfw:comment>http://geekswithblogs.net/intermark/comments/145117.aspx</wfw:comment>
            <comments>http://geekswithblogs.net/intermark/archive/2009/10/09/reportviewer-local-ndash-rdlc-ndash-handle-subreports-with-multiple-pages.aspx#feedback</comments>
            <wfw:commentRss>http://geekswithblogs.net/intermark/comments/commentRss/145117.aspx</wfw:commentRss>
        </item>
        <item>
            <title>ReportViewer local - Add a line number to the .rdlc textbox</title>
            <link>http://geekswithblogs.net/intermark/archive/2009/09/13/reportviewer-local---add-a-line-number-to-the-.rdlc.aspx</link>
            <description>&lt;p&gt;Originally posted on: &lt;a href='http://geekswithblogs.net/intermark/archive/2009/09/13/reportviewer-local---add-a-line-number-to-the-.rdlc.aspx'&gt;http://geekswithblogs.net/intermark/archive/2009/09/13/reportviewer-local---add-a-line-number-to-the-.rdlc.aspx&lt;/a&gt;&lt;/p&gt;&lt;p&gt;//Add a line number to the .rdlc textbox: use this formula   &lt;br /&gt;=RowNumber(nothing) &lt;/p&gt;  &lt;p&gt;//ReportViewer Conditional Formatting of BorderStyle based on whether anything is in the report.   &lt;br /&gt;=iif(CountRows()=0,"None","Solid")     &lt;br /&gt;=iif(CountRows()=0,"None","Dashed")     &lt;br /&gt;=iif(CountRows()=0,"None","Dotted") &lt;/p&gt;  &lt;p&gt;//ReportViewer Conditional Formating and showing the Avg if there are rows in the report.   &lt;br /&gt;=iif(CountRows()=0,"",(Avg(Fields!PctDisb.Value) &amp;amp; "%")) &lt;/p&gt;  &lt;p&gt;textbox:   &lt;br /&gt;name: PageXofY    &lt;br /&gt;="Page " &amp;amp; Globals.PageNumber &amp;amp; " of " &amp;amp; Globals.TotalPages &lt;/p&gt;  &lt;p&gt;page footer not being displayed in excel export of reportviewer   &lt;br /&gt;&lt;a href="http://forums.msdn.microsoft.com/en-US/vsreportcontrols/thread/0ead9e34-bc45-4062-90dd-17f8f8ebf062/"&gt;http://forums.msdn.microsoft.com/en-US/vsreportcontrols/thread/0ead9e34-bc45-4062-90dd-17f8f8ebf062/&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;PctOfTotal   &lt;br /&gt;=(Fields!EOM_Total.Value)/(Sum(Fields!EOM_Total.Value))    &lt;br /&gt;=iif((CStr(Fields!EOM_Total.Value/ReportItems!SumEOM.Value)="NaN"),0,(Fields!EOM_Total.Value/ReportItems!SumEOM.Value)) &lt;/p&gt;  &lt;p&gt;Sum of PctOfTotal   &lt;br /&gt;=Sum((Fields!EOM_Total.Value)/(Sum(Fields!EOM_Total.Value))) &lt;/p&gt;  &lt;p&gt;=Fields!PctOfTotal.Value   &lt;br /&gt;=ReportItems!PctValue.Value &lt;/p&gt;  &lt;p&gt;And &lt;strong&gt;Voila!&lt;/strong&gt;&lt;/p&gt;  &lt;div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:1bcfd867-dccb-45f4-be52-ef79e07db12d" class="wlWriterEditableSmartContent"&gt;Technorati Tags: &lt;a href="http://technorati.com/tags/Visual+Studio+2008" rel="tag"&gt;Visual Studio 2008&lt;/a&gt;,&lt;a href="http://technorati.com/tags/ReportViewer+local" rel="tag"&gt;ReportViewer local&lt;/a&gt;,&lt;a href="http://technorati.com/tags/rdlc" rel="tag"&gt;rdlc&lt;/a&gt;,&lt;a href="http://technorati.com/tags/add+a+line+number" rel="tag"&gt;add a line number&lt;/a&gt;&lt;/div&gt; &lt;img src="http://geekswithblogs.net/intermark/aggbug/145116.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>intermark</dc:creator>
            <guid>http://geekswithblogs.net/intermark/archive/2009/09/13/reportviewer-local---add-a-line-number-to-the-.rdlc.aspx</guid>
            <pubDate>Mon, 14 Sep 2009 01:03:00 GMT</pubDate>
            <wfw:comment>http://geekswithblogs.net/intermark/comments/145116.aspx</wfw:comment>
            <comments>http://geekswithblogs.net/intermark/archive/2009/09/13/reportviewer-local---add-a-line-number-to-the-.rdlc.aspx#feedback</comments>
            <slash:comments>2</slash:comments>
            <wfw:commentRss>http://geekswithblogs.net/intermark/comments/commentRss/145116.aspx</wfw:commentRss>
        </item>
        <item>
            <title>Implement handlers for the DataGridView control's CellValidating and CellEndEdit events.</title>
            <link>http://geekswithblogs.net/intermark/archive/2009/09/13/implement-handlers-for-the-datagridview-controls-cellvalidating-and-cellendedit-events.aspx</link>
            <description>&lt;p&gt;Originally posted on: &lt;a href='http://geekswithblogs.net/intermark/archive/2009/09/13/implement-handlers-for-the-datagridview-controls-cellvalidating-and-cellendedit-events.aspx'&gt;http://geekswithblogs.net/intermark/archive/2009/09/13/implement-handlers-for-the-datagridview-controls-cellvalidating-and-cellendedit-events.aspx&lt;/a&gt;&lt;/p&gt;&lt;p&gt;The &lt;strong&gt;CellValidating&lt;/strong&gt; event handler is where you determine whether the value of a cell in the &lt;strong&gt;SchoolName&lt;/strong&gt; column is empty. If the cell value fails validation, set the &lt;strong&gt;Cancel&lt;/strong&gt; property of the &lt;strong&gt;System.Windows.Forms.DataGridViewCellValidatingEventArgs&lt;/strong&gt; class to true. This causes the &lt;strong&gt;DataGridView&lt;/strong&gt; control to prevent the cursor from leaving the cell. Set the &lt;strong&gt;ErrorText &lt;/strong&gt;property on the row to an explanatory string. This displays an error icon with a &lt;strong&gt;ToolTip &lt;/strong&gt;that contains the error text. In the &lt;strong&gt;CellEndEdit &lt;/strong&gt;event handler, set the &lt;strong&gt;ErrorText&lt;/strong&gt; property on the row to the empty string. The &lt;strong&gt;CellEndEdit&lt;/strong&gt; event occurs only when the cell exits edit mode, which it cannot do if it fails validation. &lt;/p&gt;  &lt;p&gt;private void dataGridView1_CellValidating(object sender,   &lt;br /&gt;    DataGridViewCellValidatingEventArgs e)    &lt;br /&gt;{    &lt;br /&gt;    // Validate the SchoolName entry by disallowing empty strings.    &lt;br /&gt;    if (dataGridView1.Columns[e.ColumnIndex].Name == "SchoolName")    &lt;br /&gt;    {    &lt;br /&gt;        if (String.IsNullOrEmpty(e.FormattedValue.ToString()))    &lt;br /&gt;        {    &lt;br /&gt;            dataGridView1.Rows[e.RowIndex].ErrorText =    &lt;br /&gt;                "Company Name must not be empty";    &lt;br /&gt;            e.Cancel = true;    &lt;br /&gt;        }    &lt;br /&gt;    }    &lt;br /&gt;} &lt;/p&gt;  &lt;p&gt;void dataGridView1_CellEndEdit(object sender, DataGridViewCellEventArgs e)   &lt;br /&gt;{    &lt;br /&gt;    // Clear the row error in case the user presses ESC.   &lt;br /&gt;    dataGridView1.Rows[e.RowIndex].ErrorText = String.Empty;    &lt;br /&gt;} &lt;/p&gt;  &lt;p&gt;And &lt;strong&gt;Voila!&lt;/strong&gt;&lt;/p&gt;  &lt;div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:025bcaa9-51a5-40e3-ad3b-c2bd5198d6a6" class="wlWriterEditableSmartContent"&gt;Technorati Tags: &lt;a href="http://technorati.com/tags/Visual+Studio+2008" rel="tag"&gt;Visual Studio 2008&lt;/a&gt;,&lt;a href="http://technorati.com/tags/DataGridView" rel="tag"&gt;DataGridView&lt;/a&gt;,&lt;a href="http://technorati.com/tags/CellValidating" rel="tag"&gt;CellValidating&lt;/a&gt;,&lt;a href="http://technorati.com/tags/CellEndEdit" rel="tag"&gt;CellEndEdit&lt;/a&gt;,&lt;a href="http://technorati.com/tags/ToolTip" rel="tag"&gt;ToolTip&lt;/a&gt;,&lt;a href="http://technorati.com/tags/ErrorText" rel="tag"&gt;ErrorText&lt;/a&gt;,&lt;a href="http://technorati.com/tags/DataGridViewCellValidatingEventArgs" rel="tag"&gt;DataGridViewCellValidatingEventArgs&lt;/a&gt;&lt;/div&gt; &lt;img src="http://geekswithblogs.net/intermark/aggbug/145115.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>intermark</dc:creator>
            <guid>http://geekswithblogs.net/intermark/archive/2009/09/13/implement-handlers-for-the-datagridview-controls-cellvalidating-and-cellendedit-events.aspx</guid>
            <pubDate>Mon, 14 Sep 2009 00:53:00 GMT</pubDate>
            <wfw:comment>http://geekswithblogs.net/intermark/comments/145115.aspx</wfw:comment>
            <comments>http://geekswithblogs.net/intermark/archive/2009/09/13/implement-handlers-for-the-datagridview-controls-cellvalidating-and-cellendedit-events.aspx#feedback</comments>
            <wfw:commentRss>http://geekswithblogs.net/intermark/comments/commentRss/145115.aspx</wfw:commentRss>
        </item>
        <item>
            <title>Entity Framework and Join Tables.</title>
            <link>http://geekswithblogs.net/intermark/archive/2009/09/08/entity-framework-and-join-tables.aspx</link>
            <description>&lt;p&gt;Originally posted on: &lt;a href='http://geekswithblogs.net/intermark/archive/2009/09/08/entity-framework-and-join-tables.aspx'&gt;http://geekswithblogs.net/intermark/archive/2009/09/08/entity-framework-and-join-tables.aspx&lt;/a&gt;&lt;/p&gt;&lt;p&gt;I had a true join table (two foreign keys which, together, were a composite key in the join table).  I followed the steps enumerated in Julie Lerman’s Blog &lt;a href="http://thedatafarm.com/blog/data-access/inserting-many-to-many-relationships-in-ef-with-or-without-a-join-entity/"&gt;Don't Be Iffy&lt;/a&gt; and got unexpected behavior.  I was not only inserting new rows where they belonged, but was adding to one of the tables with the foreign key!  Not good!    &lt;br /&gt;    &lt;br /&gt;Since she is the “go-to-Guru” I was baffled!  Then I realized the issue, and used Julie’s Platinum Rule to solve the problem: &lt;strong&gt;&lt;em&gt;“The Platinum Rule is that an object graph (for example when a customer is attached to an order which is attached to some line items) must be completely in or completely outside of the ObjectContext.”&lt;/em&gt;&lt;/strong&gt; &lt;/p&gt;  &lt;p&gt;Briefly, the Use Case went something like this:  School District personnel needed to register students into different schools.  However, they needed the flexibility to pause those registrations at any time, and then to pick up where they left off.  The students would not become part of the “real” tables in the database until all of that students registration information was complete.  As a DBA, I built a “side-by-side” infrastructure, and only when the finish button was pushed would I move the paused student over to the “real” tables. &lt;/p&gt;  &lt;p&gt;I had tables and Entity Framework entities called:   &lt;br /&gt;&lt;strong&gt;Student     &lt;br /&gt;School      &lt;br /&gt;SpecialCircumstance      &lt;br /&gt;PausedStudent      &lt;br /&gt;PausedSchool&lt;/strong&gt; &lt;/p&gt;  &lt;p&gt;In addition, I had two join tables (for each join table: two foreign keys which, together, were a composite key in the join table).:   &lt;br /&gt;&lt;strong&gt;SchoolSpecialCircumstance     &lt;br /&gt;PausedSchoolSpecialCircumstance&lt;/strong&gt; &lt;/p&gt;  &lt;p&gt;These two join tables don’t show up as entities, but Navigation Properties in each of the foreign key entities.  So, in other words, &lt;strong&gt;PausedSchool&lt;/strong&gt; had a NavigationProperty called &lt;strong&gt;SpecialCircumstance&lt;/strong&gt;, and &lt;strong&gt;School&lt;/strong&gt; had a NavigationProperty called &lt;strong&gt;SpecialCircumstance&lt;/strong&gt;.  Likewise, &lt;strong&gt;SpecialCircumstance&lt;/strong&gt; had two NavigationProperties, one called &lt;strong&gt;School&lt;/strong&gt; and one called &lt;strong&gt;PausedSchool&lt;/strong&gt;. &lt;/p&gt;  &lt;p&gt;When the finish button was clicked I should have had one new row in &lt;strong&gt;SchoolSpecialCircumstance&lt;/strong&gt; that had a FK to &lt;strong&gt;School &lt;/strong&gt;and a FK to &lt;strong&gt;SpecialCircumstance&lt;/strong&gt;.  That row was successfully inserted.  &lt;strong&gt;HOWEVER,&lt;/strong&gt; in addition, I had a new row in &lt;strong&gt;SpecialCircumstance&lt;/strong&gt; with a new ID number, which was the same ID number as the FK in &lt;strong&gt;SchoolSpecialCircumstance&lt;/strong&gt;.  Not acceptable!  The &lt;strong&gt;SpecialCircumstance&lt;/strong&gt; were a finite list of pre-defined items, and this was in effect duplicating that data. &lt;/p&gt;  &lt;p&gt;The issue arose because I was adding objects to the &lt;strong&gt;School &lt;/strong&gt;object, which had a FK to the &lt;strong&gt;Student&lt;/strong&gt; object.  At the end of this &lt;strong&gt;“chaining”&lt;/strong&gt; I called &lt;strong&gt;AddToStudent&lt;/strong&gt; on the ObjectContext so that all the FKs were populated correctly: &lt;/p&gt;  &lt;p&gt;&lt;strong&gt;newSchool.otherObject.Add(newObject);     &lt;br /&gt;newSchool.anotherObject.Add(newAnotherObject);      &lt;br /&gt;newSchool.SpecialCircumstance.Add(newSpecialCircumstance);      &lt;br /&gt;newStudent.School.Add(newSchool);      &lt;br /&gt;ctx.AddToStudent(newStudent);      &lt;br /&gt;&lt;/strong&gt;&lt;strong&gt;ctx.SaveChanges();&lt;/strong&gt; &lt;/p&gt;  &lt;p&gt;So what is the &lt;strong&gt;[workaround]&lt;/strong&gt;?  The ObjectContext has to &lt;strong&gt;know&lt;/strong&gt; about the FK relationships before it can &lt;strong&gt;do anything with them!&lt;/strong&gt; &lt;/p&gt;  &lt;p&gt;&lt;strong&gt;newSchool.otherObject.Add(newObject);     &lt;br /&gt;&lt;/strong&gt;&lt;strong&gt;newSchool.anotherObject.Add(newAnotherObject);     &lt;br /&gt;&lt;strong&gt;newStudent.School.Add(newSchool);       &lt;br /&gt;ctx.AddToStudent(newStudent);        &lt;br /&gt;        &lt;br /&gt;newSchool.SpecialCircumstance.Add(newSpecialCircumstance);        &lt;br /&gt;        &lt;br /&gt;ctx.SaveChanges();&lt;/strong&gt;&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;And&lt;strong&gt; Voila!&lt;/strong&gt;  Problem solved!  Just goes to prove that &lt;strong&gt;“timing is everything in this world!”&lt;/strong&gt;&lt;/p&gt;  &lt;div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:489c40b6-99b1-445c-b458-82b281a49d05" class="wlWriterEditableSmartContent"&gt;Technorati Tags: &lt;a href="http://technorati.com/tags/EF" rel="tag"&gt;EF&lt;/a&gt;,&lt;a href="http://technorati.com/tags/Entity+Framework" rel="tag"&gt;Entity Framework&lt;/a&gt;,&lt;a href="http://technorati.com/tags/Join+Tables" rel="tag"&gt;Join Tables&lt;/a&gt;,&lt;a href="http://technorati.com/tags/C%23" rel="tag"&gt;C#&lt;/a&gt;&lt;/div&gt; &lt;img src="http://geekswithblogs.net/intermark/aggbug/145114.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>intermark</dc:creator>
            <guid>http://geekswithblogs.net/intermark/archive/2009/09/08/entity-framework-and-join-tables.aspx</guid>
            <pubDate>Tue, 08 Sep 2009 23:02:00 GMT</pubDate>
            <wfw:comment>http://geekswithblogs.net/intermark/comments/145114.aspx</wfw:comment>
            <comments>http://geekswithblogs.net/intermark/archive/2009/09/08/entity-framework-and-join-tables.aspx#feedback</comments>
            <wfw:commentRss>http://geekswithblogs.net/intermark/comments/commentRss/145114.aspx</wfw:commentRss>
        </item>
        <item>
            <title>Error: conversion of a datetime2 data type to a datetime data type&amp;hellip;</title>
            <link>http://geekswithblogs.net/intermark/archive/2009/09/06/error-conversion-of-a-datetime2-data-type-to-a-datetime.aspx</link>
            <description>&lt;p&gt;Originally posted on: &lt;a href='http://geekswithblogs.net/intermark/archive/2009/09/06/error-conversion-of-a-datetime2-data-type-to-a-datetime.aspx'&gt;http://geekswithblogs.net/intermark/archive/2009/09/06/error-conversion-of-a-datetime2-data-type-to-a-datetime.aspx&lt;/a&gt;&lt;/p&gt;&lt;p&gt;Using VS2008 and Entity Framework, the exact error message is:   &lt;br /&gt;&lt;em&gt;"The conversion of a datetime2 data type to a datetime data type resulted in an out-of-range value.\r\nThe statement has been terminated."&lt;/em&gt;&lt;/p&gt;  &lt;p&gt;There are several causes for this rather generic (and not very intuitive) error message.&lt;/p&gt;  &lt;p&gt;I had changed some fields in the SQL 2008 database from non-nullable to nullable, and then asked the tool to “update model from database”.  The error message appeared in that instance because one part of the ADO.NET Entity Data Model does not automatically get updated when this happens.  The ADO.NET Entity Data Model has three parts:   &lt;br /&gt;&lt;em&gt;SSDL (Store Schema Definition Language)     &lt;br /&gt;CSDL (Conceptual Schema Definition Language)      &lt;br /&gt;MSL (Mapping Schema Language)&lt;/em&gt;&lt;/p&gt;  &lt;p&gt;So what is the &lt;strong&gt;[workaround]&lt;/strong&gt;?&lt;/p&gt;  &lt;p&gt;The SSDL and the MSL update just fine, but I had to “hand-code” the changes in the CSDL.&lt;/p&gt;  &lt;p&gt;And Voila!  Problem solved!&lt;/p&gt;    &lt;div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:44a7559a-62bd-4909-955d-93569b637e09" class="wlWriterEditableSmartContent"&gt;Technorati Tags: &lt;a href="http://technorati.com/tags/SQL+Server+2008" rel="tag"&gt;SQL Server 2008&lt;/a&gt;,&lt;a href="http://technorati.com/tags/Entity+Framework" rel="tag"&gt;Entity Framework&lt;/a&gt;,&lt;a href="http://technorati.com/tags/EF" rel="tag"&gt;EF&lt;/a&gt;,&lt;a href="http://technorati.com/tags/datetime2+data+type+to+a+datetime+data+type" rel="tag"&gt;datetime2 data type to a datetime data type&lt;/a&gt;&lt;/div&gt; &lt;img src="http://geekswithblogs.net/intermark/aggbug/145113.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>intermark</dc:creator>
            <guid>http://geekswithblogs.net/intermark/archive/2009/09/06/error-conversion-of-a-datetime2-data-type-to-a-datetime.aspx</guid>
            <pubDate>Sun, 06 Sep 2009 23:01:00 GMT</pubDate>
            <wfw:comment>http://geekswithblogs.net/intermark/comments/145113.aspx</wfw:comment>
            <comments>http://geekswithblogs.net/intermark/archive/2009/09/06/error-conversion-of-a-datetime2-data-type-to-a-datetime.aspx#feedback</comments>
            <slash:comments>1</slash:comments>
            <wfw:commentRss>http://geekswithblogs.net/intermark/comments/commentRss/145113.aspx</wfw:commentRss>
        </item>
        <item>
            <title>&amp;hellip;Session state can only be used when enableSessionState is set to true&amp;hellip;</title>
            <link>http://geekswithblogs.net/intermark/archive/2009/09/06/hellipsession-state-can-only-be-used-when-enablesessionstate-is-set.aspx</link>
            <description>&lt;p&gt;Originally posted on: &lt;a href='http://geekswithblogs.net/intermark/archive/2009/09/06/hellipsession-state-can-only-be-used-when-enablesessionstate-is-set.aspx'&gt;http://geekswithblogs.net/intermark/archive/2009/09/06/hellipsession-state-can-only-be-used-when-enablesessionstate-is-set.aspx&lt;/a&gt;&lt;/p&gt;&lt;p&gt;I am using VS2008 in a Vista Ultimate environment.  Here is the complete error message:   &lt;br /&gt;&lt;em&gt;”Exception Details: System.Web.HttpException:  Session state can only be used when enableSessionState is set to true,      &lt;br /&gt;either in a configuration file or in the Page directive.  Please also make sure that System.Web.SessionStateModule or a       &lt;br /&gt;custom session state module is included in the “&amp;lt;configuration&amp;gt;\&amp;lt;system.web&amp;gt;\&amp;lt;httpModules&amp;gt; section in the application configuration.”&lt;/em&gt;&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;NONE&lt;/strong&gt; of that was the problem!  I even verified that SessionState was running as a service, &lt;strong&gt;which it was!&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;Okay, what is the &lt;strong&gt;[workaround]&lt;/strong&gt;?&lt;/p&gt;  &lt;p&gt;Navigate to:   &lt;br /&gt;&lt;strong&gt;Control Panel &amp;gt; Programs &amp;gt; Turn Windows features on or off&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;When that dialog-box finishes loading, expand:   &lt;br /&gt;&lt;strong&gt;Internet Information Services &amp;gt; Web Management Tools &amp;gt; IIS 6.0 Management Compatibility&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;Make sure the following two check-boxes are &lt;strong&gt;checked:     &lt;br /&gt;IIS 6 WMI Compatibility      &lt;br /&gt;IIS Metabase and IIS 6 configuration compatibility&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;And Viola!  Problem solved!  That was a two-hour ordeal for our team!  Hope I saved you some time!&lt;/p&gt;  &lt;div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:6764b6d3-79e0-4575-b555-546a6a8bef17" class="wlWriterEditableSmartContent"&gt;Technorati Tags: &lt;a href="http://technorati.com/tags/VS2008" rel="tag"&gt;VS2008&lt;/a&gt;,&lt;a href="http://technorati.com/tags/Visual+Studio+2008" rel="tag"&gt;Visual Studio 2008&lt;/a&gt;,&lt;a href="http://technorati.com/tags/C%23" rel="tag"&gt;C#&lt;/a&gt;,&lt;a href="http://technorati.com/tags/SessionState" rel="tag"&gt;SessionState&lt;/a&gt;,&lt;a href="http://technorati.com/tags/enableSessionState" rel="tag"&gt;enableSessionState&lt;/a&gt;&lt;/div&gt; &lt;img src="http://geekswithblogs.net/intermark/aggbug/145112.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>intermark</dc:creator>
            <guid>http://geekswithblogs.net/intermark/archive/2009/09/06/hellipsession-state-can-only-be-used-when-enablesessionstate-is-set.aspx</guid>
            <pubDate>Sun, 06 Sep 2009 23:00:00 GMT</pubDate>
            <wfw:comment>http://geekswithblogs.net/intermark/comments/145112.aspx</wfw:comment>
            <comments>http://geekswithblogs.net/intermark/archive/2009/09/06/hellipsession-state-can-only-be-used-when-enablesessionstate-is-set.aspx#feedback</comments>
            <wfw:commentRss>http://geekswithblogs.net/intermark/comments/commentRss/145112.aspx</wfw:commentRss>
        </item>
        <item>
            <title>How to force update of Intellisense without opening and closing a file in Visual Studio 2008?</title>
            <link>http://geekswithblogs.net/intermark/archive/2009/09/06/how-to-force-update-of-intellisense-without-opening-and-closing.aspx</link>
            <description>&lt;p&gt;Originally posted on: &lt;a href='http://geekswithblogs.net/intermark/archive/2009/09/06/how-to-force-update-of-intellisense-without-opening-and-closing.aspx'&gt;http://geekswithblogs.net/intermark/archive/2009/09/06/how-to-force-update-of-intellisense-without-opening-and-closing.aspx&lt;/a&gt;&lt;/p&gt;&lt;p&gt;In Visual Studio 2008, I periodically see the error in the status bar:   &lt;br /&gt;”Error updating JScript Intellisense, see Error list”&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;HOWEVER&lt;/strong&gt;, there are no errors about this in the Error list!  And, the site compiles, runs, and publishes perfectly!  &lt;strong&gt;Total annoyance!&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;I believe this is an error caused by the inclusion of the JQuery library and some inability of the Intellisense parser to “play nice in the playground”.&lt;/p&gt;  &lt;p&gt;Okay, so what’s the &lt;strong&gt;[workaround]&lt;/strong&gt;?&lt;/p&gt;  &lt;p&gt;You can &lt;strong&gt;force&lt;/strong&gt; an update of Intellisense with the following &lt;strong&gt;keyboard-shortcut&lt;/strong&gt;:&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;&lt;strong&gt;Ctrl + Shift + J&lt;/strong&gt;&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;And Voila!  Problem Solved!  Annoyance gone!&lt;/p&gt;  &lt;div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:a977f372-8d84-498e-a54f-4eabbb338c42" class="wlWriterEditableSmartContent"&gt;Technorati Tags: &lt;a href="http://technorati.com/tags/Visual+Studio+2008" rel="tag"&gt;Visual Studio 2008&lt;/a&gt;,&lt;a href="http://technorati.com/tags/Intellisense" rel="tag"&gt;Intellisense&lt;/a&gt;,&lt;a href="http://technorati.com/tags/JScript+Intellisense+updating+error" rel="tag"&gt;JScript Intellisense updating error&lt;/a&gt;&lt;/div&gt; &lt;img src="http://geekswithblogs.net/intermark/aggbug/145111.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>intermark</dc:creator>
            <guid>http://geekswithblogs.net/intermark/archive/2009/09/06/how-to-force-update-of-intellisense-without-opening-and-closing.aspx</guid>
            <pubDate>Sun, 06 Sep 2009 23:00:00 GMT</pubDate>
            <wfw:comment>http://geekswithblogs.net/intermark/comments/145111.aspx</wfw:comment>
            <comments>http://geekswithblogs.net/intermark/archive/2009/09/06/how-to-force-update-of-intellisense-without-opening-and-closing.aspx#feedback</comments>
            <wfw:commentRss>http://geekswithblogs.net/intermark/comments/commentRss/145111.aspx</wfw:commentRss>
        </item>
        <item>
            <title>Colorado Rapids Suffering from &amp;quot;&amp;rdquo;Mysterious White Box Syndrome&amp;rdquo;&amp;hellip;</title>
            <link>http://geekswithblogs.net/intermark/archive/2009/08/26/colorado-rapids-suffering-from-quotrdquomysterious-white-box-syndromerdquohellip.aspx</link>
            <description>&lt;p&gt;Originally posted on: &lt;a href='http://geekswithblogs.net/intermark/archive/2009/08/26/colorado-rapids-suffering-from-quotrdquomysterious-white-box-syndromerdquohellip.aspx'&gt;http://geekswithblogs.net/intermark/archive/2009/08/26/colorado-rapids-suffering-from-quotrdquomysterious-white-box-syndromerdquohellip.aspx&lt;/a&gt;&lt;/p&gt;&lt;p&gt;As you can see from the screen-shots below, the syndrome may be &lt;strong&gt;fatal to their Website!&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;&lt;a href="http://gwb.blob.core.windows.net/intermark/Windows-Live-Writer/ColoradoRapidsSufferingfromMysteriousWhi_6077/Rapids_WhiteBoxSyndrome_2.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="Rapids_WhiteBoxSyndrome" border="0" alt="Rapids_WhiteBoxSyndrome" src="http://gwb.blob.core.windows.net/intermark/Windows-Live-Writer/ColoradoRapidsSufferingfromMysteriousWhi_6077/Rapids_WhiteBoxSyndrome_thumb.png" width="355" height="217" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&lt;em&gt;&lt;strong&gt;Figure 1&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;  &lt;p&gt;In &lt;strong&gt;Figure 1&lt;/strong&gt;, notice the prominent white-box (which is supposed to be a menu drop-down list) covering the player in the white uniform.  &lt;/p&gt;  &lt;p&gt;&lt;a href="http://gwb.blob.core.windows.net/intermark/Windows-Live-Writer/ColoradoRapidsSufferingfromMysteriousWhi_6077/Rapids_WhiteBoxSyndrome_picutre2_2.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="Rapids_WhiteBoxSyndrome_picutre2" border="0" alt="Rapids_WhiteBoxSyndrome_picutre2" src="http://gwb.blob.core.windows.net/intermark/Windows-Live-Writer/ColoradoRapidsSufferingfromMysteriousWhi_6077/Rapids_WhiteBoxSyndrome_picutre2_thumb.png" width="349" height="214" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&lt;strong&gt;&lt;em&gt;Figure 2&lt;/em&gt;&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;In &lt;strong&gt;Figure 2&lt;/strong&gt;, the box is wider and over to the right, covering advertising above the calendar schedule.&lt;/p&gt;  &lt;p&gt;How in the world did the Colorado Rapids become sick with this Mysterious White Box Syndrome?  &lt;strong&gt;Well, I’m glad you asked!&lt;/strong&gt;  No, really, I am!  Can’t you hear me smiling?!&lt;/p&gt;  &lt;p&gt;The cause of this “contracted” illness is a well known issue with IE8 (Internet Explorer 8) and the dynamic menu items of the menu control.  Viewing the source, it’s obvious that the programmers used Visual Studio.  They could have easily seen this problem during the debug cycle with IE8 installed (unless they made the &lt;em&gt;&lt;strong&gt;“less than professional”&lt;/strong&gt;&lt;/em&gt; mistake of running IE8 in compatibility mode – don’t develop in that mode).  You always need to test your code for cross-browser compatibility.&lt;/p&gt;  &lt;p&gt;The &lt;strong&gt;[workaround]&lt;/strong&gt; for this problem is a simple CSS (Cascading Style Sheet) Z-Index fix:&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;&lt;font color="#0000ff"&gt;/* this is the &lt;strong&gt;[workaround]&lt;/strong&gt; for asp:menu IE8 Dynamic menu items not showing */        &lt;br /&gt;&lt;/font&gt;.adjustedZIndex      &lt;br /&gt;{      &lt;br /&gt;    z-index:1;      &lt;br /&gt;}&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;And &lt;strong&gt;voila!  &lt;/strong&gt;Disease cured!  I think that &lt;strong&gt;[workaround]&lt;/strong&gt; is worthy of a nomination by the Nobel Committee for Medicine, don’t you?!&lt;/p&gt;  &lt;p&gt;Do you think someone should let them know?&lt;/p&gt;  &lt;p&gt;Now, if only I had a cure for what ails them on the soccer field!!  That would be a miracle!&lt;/p&gt;  &lt;div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:444c2fc4-4b8e-4785-ba59-52b1dcce857b" class="wlWriterEditableSmartContent"&gt;Technorati Tags: &lt;a href="http://technorati.com/tags/Colorado+Rapids" rel="tag"&gt;Colorado Rapids&lt;/a&gt;,&lt;a href="http://technorati.com/tags/MLS" rel="tag"&gt;MLS&lt;/a&gt;,&lt;a href="http://technorati.com/tags/soccer" rel="tag"&gt;soccer&lt;/a&gt;,&lt;a href="http://technorati.com/tags/IE8" rel="tag"&gt;IE8&lt;/a&gt;,&lt;a href="http://technorati.com/tags/Internet+Explorer" rel="tag"&gt;Internet Explorer&lt;/a&gt;,&lt;a href="http://technorati.com/tags/menu+control" rel="tag"&gt;menu control&lt;/a&gt;,&lt;a href="http://technorati.com/tags/ASP.NET" rel="tag"&gt;ASP.NET&lt;/a&gt;,&lt;a href="http://technorati.com/tags/Dynamic+Drop-Down+menus" rel="tag"&gt;Dynamic Drop-Down menus&lt;/a&gt;&lt;/div&gt; &lt;img src="http://geekswithblogs.net/intermark/aggbug/145110.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>intermark</dc:creator>
            <guid>http://geekswithblogs.net/intermark/archive/2009/08/26/colorado-rapids-suffering-from-quotrdquomysterious-white-box-syndromerdquohellip.aspx</guid>
            <pubDate>Wed, 26 Aug 2009 22:58:00 GMT</pubDate>
            <wfw:comment>http://geekswithblogs.net/intermark/comments/145110.aspx</wfw:comment>
            <comments>http://geekswithblogs.net/intermark/archive/2009/08/26/colorado-rapids-suffering-from-quotrdquomysterious-white-box-syndromerdquohellip.aspx#feedback</comments>
            <wfw:commentRss>http://geekswithblogs.net/intermark/comments/commentRss/145110.aspx</wfw:commentRss>
        </item>
        <item>
            <title>Do the Colorado Rapids deserve your money&amp;hellip;.?</title>
            <link>http://geekswithblogs.net/intermark/archive/2009/08/24/do-the-colorado-rapids-deserve-your-moneyhellip.aspx</link>
            <description>&lt;p&gt;Originally posted on: &lt;a href='http://geekswithblogs.net/intermark/archive/2009/08/24/do-the-colorado-rapids-deserve-your-moneyhellip.aspx'&gt;http://geekswithblogs.net/intermark/archive/2009/08/24/do-the-colorado-rapids-deserve-your-moneyhellip.aspx&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;font size="2"&gt;In this economy, &lt;strong&gt;&lt;font color="#ff0000"&gt;I THINK NOT!&lt;/font&gt;&lt;/strong&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size="2"&gt;That is a very difficult conclusion for me to come to!  After all, I was the Rapids very &lt;strong&gt;First Webmaster&lt;/strong&gt; for the first two years of their existence (for very little compensation) in 1995 thru 1997.  My late husband sold more Rapids tickets (without commission) than any of the original sales force.&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size="2"&gt;But that was &lt;strong&gt;14 long years ago!&lt;/strong&gt;  They have never been a contender in the MLS and I see nothing happening to change that.&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size="2"&gt;There seems to be an air of &lt;strong&gt;arrogance&lt;/strong&gt; from the management on down to the playing field.  The players certainly have no justification for arrogance!  Quite frankly you can see better soccer at the Youth games.  In the days of the previous ownership and management, there was a sense of approachability.  Not now!&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size="2"&gt;They are pressuring me to renew my Club Season Tickets (at $60 each/game).&lt;/font&gt;&lt;/p&gt;  &lt;p&gt;&lt;font size="2"&gt;But in this economy…&lt;font color="#ff0000"&gt;&lt;strong&gt;I THINK NOT!&lt;/strong&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;  &lt;div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:6e107e0f-b804-435e-9492-08a92235aa4c" class="wlWriterEditableSmartContent"&gt;Technorati Tags: &lt;a href="http://technorati.com/tags/Colorado+Rapids" rel="tag"&gt;Colorado Rapids&lt;/a&gt;&lt;/div&gt; &lt;img src="http://geekswithblogs.net/intermark/aggbug/145109.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>intermark</dc:creator>
            <guid>http://geekswithblogs.net/intermark/archive/2009/08/24/do-the-colorado-rapids-deserve-your-moneyhellip.aspx</guid>
            <pubDate>Mon, 24 Aug 2009 06:34:00 GMT</pubDate>
            <wfw:comment>http://geekswithblogs.net/intermark/comments/145109.aspx</wfw:comment>
            <comments>http://geekswithblogs.net/intermark/archive/2009/08/24/do-the-colorado-rapids-deserve-your-moneyhellip.aspx#feedback</comments>
            <wfw:commentRss>http://geekswithblogs.net/intermark/comments/commentRss/145109.aspx</wfw:commentRss>
        </item>
        <item>
            <title>Tips and Tricks &amp;ndash; Windows Live Writer (WLW)</title>
            <link>http://geekswithblogs.net/intermark/archive/2009/08/23/tips-and-tricks-ndash-windows-live-writer-wlw.aspx</link>
            <description>&lt;p&gt;Originally posted on: &lt;a href='http://geekswithblogs.net/intermark/archive/2009/08/23/tips-and-tricks-ndash-windows-live-writer-wlw.aspx'&gt;http://geekswithblogs.net/intermark/archive/2009/08/23/tips-and-tricks-ndash-windows-live-writer-wlw.aspx&lt;/a&gt;&lt;/p&gt;&lt;ol&gt;   &lt;li&gt;The “normal” windows keyboard shortcuts of Ctrl+Z (undo), Ctrl+Y (redo), and Shift+Enter (new paragraph inside of bulleted/numbered items like these) work great in WLW. &lt;/li&gt;    &lt;li&gt;I had a few “Recently posted” items, from &lt;em&gt;failed&lt;/em&gt; posts still hanging around in the right sidebar.  When I tried to click on them, I got an error message.  Very frustrating, and I wanted them gone!  If there are enough “Recently posted” items, you can just click on the &lt;strong&gt;More… &lt;/strong&gt;folder link at the bottom of that section, and it opens a dialog box which gives you the option to delete them.  However, after deleting a few, I closed out of that dialog box while still having more to delete.  Suddenly, there was no &lt;strong&gt;More… &lt;/strong&gt;folder link to click on!  &lt;strong&gt;Grrrrrr!&lt;/strong&gt;  &lt;br /&gt;The &lt;strong&gt;[workaround]&lt;/strong&gt; is that you can navigate to your &lt;strong&gt;Documents &amp;gt; My Weblog Posts &amp;gt; Recent Posts&lt;/strong&gt; folder.      &lt;br /&gt;      &lt;br /&gt; &lt;a href="http://gwb.blob.core.windows.net/intermark/Windows-Live-Writer/TipsandTricksWindowsLiveWriterWLW_12225/090130_Blog_ScreenShot_1_4.png"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="090130_Blog_ScreenShot_1" border="0" alt="090130_Blog_ScreenShot_1" src="http://gwb.blob.core.windows.net/intermark/Windows-Live-Writer/TipsandTricksWindowsLiveWriterWLW_12225/090130_Blog_ScreenShot_1_thumb_1.png" width="176" height="133" /&gt;&lt;/a&gt;       &lt;br /&gt;      &lt;br /&gt;You will find the various posts in question listed.  There is an &lt;strong&gt;XML&lt;/strong&gt; file called &lt;strong&gt;cache.xml&lt;/strong&gt;.  I edited the &lt;strong&gt;cache.xml&lt;/strong&gt; file in notepad (after making a backup copy of it, of course), and then deleted the files in question.  Fortunately for me, they all had the same title, with a different date and time.  They were appended with, [2], [3], and [4].  I needed the last one posted (by time).  The time in the XML file corresponded, and thus I was able to delete the correct ones.  &lt;strong&gt;Viola!&lt;/strong&gt;  No more nagging artifacts hanging around!&lt;/li&gt; &lt;/ol&gt;  &lt;div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:c2de60bd-48a9-4f18-a291-c55a2b25a8b2" class="wlWriterEditableSmartContent"&gt;Technorati Tags: &lt;a href="http://technorati.com/tags/Windows+Live+Writer" rel="tag"&gt;Windows Live Writer&lt;/a&gt;,&lt;a href="http://technorati.com/tags/WLW" rel="tag"&gt;WLW&lt;/a&gt;&lt;/div&gt; &lt;img src="http://geekswithblogs.net/intermark/aggbug/145108.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>intermark</dc:creator>
            <guid>http://geekswithblogs.net/intermark/archive/2009/08/23/tips-and-tricks-ndash-windows-live-writer-wlw.aspx</guid>
            <pubDate>Sun, 23 Aug 2009 22:57:00 GMT</pubDate>
            <wfw:comment>http://geekswithblogs.net/intermark/comments/145108.aspx</wfw:comment>
            <comments>http://geekswithblogs.net/intermark/archive/2009/08/23/tips-and-tricks-ndash-windows-live-writer-wlw.aspx#feedback</comments>
            <wfw:commentRss>http://geekswithblogs.net/intermark/comments/commentRss/145108.aspx</wfw:commentRss>
        </item>
        <item>
            <title>Finally decided to Blog&amp;hellip;</title>
            <link>http://geekswithblogs.net/intermark/archive/2008/08/23/finally-decided-to-bloghellip.aspx</link>
            <description>&lt;p&gt;Originally posted on: &lt;a href='http://geekswithblogs.net/intermark/archive/2008/08/23/finally-decided-to-bloghellip.aspx'&gt;http://geekswithblogs.net/intermark/archive/2008/08/23/finally-decided-to-bloghellip.aspx&lt;/a&gt;&lt;/p&gt;&lt;p&gt;I am the &lt;strong&gt;&lt;em&gt;Geek&lt;/em&gt;&lt;/strong&gt; who &lt;strong&gt;has resisted Blogging&lt;/strong&gt; for so long,, but &lt;strong&gt;now&lt;/strong&gt; I am going  to take the &lt;strong&gt;plunge&lt;/strong&gt;!&lt;/p&gt;  &lt;p&gt;Hopefully the waters will remain &lt;strong&gt;calm&lt;/strong&gt; and &lt;strong&gt;tranquil,&lt;/strong&gt; no matter what topics I choose!&lt;/p&gt;  &lt;p&gt;&lt;a href="http://gwb.blob.core.windows.net/intermark/Windows-Live-Writer/FinallydecidedtoBlog_E2EB/HumorWomanBuriedByPaperwork_4.jpg"&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="HumorWomanBuriedByPaperwork" border="0" alt="HumorWomanBuriedByPaperwork" src="http://gwb.blob.core.windows.net/intermark/Windows-Live-Writer/FinallydecidedtoBlog_E2EB/HumorWomanBuriedByPaperwork_thumb_1.jpg" width="244" height="243" /&gt;&lt;/a&gt;&lt;/p&gt;    &lt;div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:3fe89a0c-02cd-4814-9529-5df2e1702196" class="wlWriterEditableSmartContent"&gt;Technorati Tags: &lt;a href="http://technorati.com/tags/C%23" rel="tag"&gt;C#&lt;/a&gt;,&lt;a href="http://technorati.com/tags/ASP.NET" rel="tag"&gt;ASP.NET&lt;/a&gt;,&lt;a href="http://technorati.com/tags/.NET" rel="tag"&gt;.NET&lt;/a&gt;,&lt;a href="http://technorati.com/tags/Software" rel="tag"&gt;Software&lt;/a&gt;,&lt;a href="http://technorati.com/tags/Soccer" rel="tag"&gt;Soccer&lt;/a&gt;,&lt;a href="http://technorati.com/tags/Colorado+State+Soccer+Association" rel="tag"&gt;Colorado State Soccer Association&lt;/a&gt;,&lt;a href="http://technorati.com/tags/Colorado+Rapids" rel="tag"&gt;Colorado Rapids&lt;/a&gt;,&lt;a href="http://technorati.com/tags/MLS" rel="tag"&gt;MLS&lt;/a&gt;&lt;/div&gt; &lt;img src="http://geekswithblogs.net/intermark/aggbug/145107.aspx" width="1" height="1" /&gt;</description>
            <dc:creator>intermark</dc:creator>
            <guid>http://geekswithblogs.net/intermark/archive/2008/08/23/finally-decided-to-bloghellip.aspx</guid>
            <pubDate>Sun, 24 Aug 2008 04:07:00 GMT</pubDate>
            <wfw:comment>http://geekswithblogs.net/intermark/comments/145107.aspx</wfw:comment>
            <comments>http://geekswithblogs.net/intermark/archive/2008/08/23/finally-decided-to-bloghellip.aspx#feedback</comments>
            <wfw:commentRss>http://geekswithblogs.net/intermark/comments/commentRss/145107.aspx</wfw:commentRss>
        </item>
    </channel>
</rss>