<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:pingback="http://madskills.com/public/xml/rss/module/pingback/" 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:dc="http://purl.org/dc/elements/1.1/" version="2.0">
  <channel>
    <title>I cannot remember everything - ASP.NET v2.0</title>
    <link>http://blog.mikepoole.net/</link>
    <description>so I wrote it down here</description>
    <language>en-us</language>
    <copyright>Michael Poole</copyright>
    <lastBuildDate>Tue, 11 May 2010 09:57:49 GMT</lastBuildDate>
    <generator>newtelligence dasBlog 1.9.6264.0</generator>
    <managingEditor>michael_g_poole@hotmail.com</managingEditor>
    <webMaster>michael_g_poole@hotmail.com</webMaster>
    <item>
      <trackback:ping>http://blog.mikepoole.net/Trackback.aspx?guid=752bed9c-fbb3-422d-8434-dd824282ecb3</trackback:ping>
      <pingback:server>http://blog.mikepoole.net/pingback.aspx</pingback:server>
      <pingback:target>http://blog.mikepoole.net/PermaLink,guid,752bed9c-fbb3-422d-8434-dd824282ecb3.aspx</pingback:target>
      <dc:creator>Mike</dc:creator>
      <wfw:comment>http://blog.mikepoole.net/CommentView,guid,752bed9c-fbb3-422d-8434-dd824282ecb3.aspx</wfw:comment>
      <wfw:commentRss>http://blog.mikepoole.net/SyndicationService.asmx/GetEntryCommentsRss?guid=752bed9c-fbb3-422d-8434-dd824282ecb3</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">I've been doing some ASP.NET development
work in my spare time and came across a customer requirement where the Calendar control
used for a reporting system needed to be able to:<br /><br /><ol><li>
change the day that the week started on based on a stored text value</li><li>
select all days from the current week from today's date back to and including the
starting day of the week (whatever that was configured to)</li></ol><br />
The use of different enumerations for Day surprised me and also the looping logic
required took some thinking about when the comparitive integer values of Days could
not be used as a means of comparison.<br /><br />
Screenshot and code sample below ran for today's date.<br /><br /><img src="http://blog.mikepoole.net/content/binary/_cal.png" border="0" /><br /><br /><pre style="font-size: 11px; font-family: Courier New;"><span style="color: Black; background-color: Transparent; font-family: Courier New; font-size: 11px;"><span style="color: Blue; background-color: Transparent; font-family: Courier New; font-size: 11px;">using</span> System;<br /><span style="color: Blue; background-color: Transparent; font-family: Courier New; font-size: 11px;">using</span> System.Collections.Generic;<br /><span style="color: Blue; background-color: Transparent; font-family: Courier New; font-size: 11px;">using</span> System.Linq;<br /><span style="color: Blue; background-color: Transparent; font-family: Courier New; font-size: 11px;">using</span> System.Web;<br /><span style="color: Blue; background-color: Transparent; font-family: Courier New; font-size: 11px;">using</span> System.Web.UI;<br /><span style="color: Blue; background-color: Transparent; font-family: Courier New; font-size: 11px;">using</span> System.Web.UI.WebControls;<br /><br /><span style="color: Blue; background-color: Transparent; font-family: Courier New; font-size: 11px;">namespace</span> WebCalendar<br />
{<br /><span style="color: Blue; background-color: Transparent; font-family: Courier New; font-size: 11px;">public</span> partial <span style="color: Blue; background-color: Transparent; font-family: Courier New; font-size: 11px;">class</span> _Default
: System.Web.UI.Page<br />
{<br /><span style="color: Blue; background-color: Transparent; font-family: Courier New; font-size: 11px;">protected</span><span style="color: Blue; background-color: Transparent; font-family: Courier New; font-size: 11px;">void</span> Page_Load(<span style="color: Blue; background-color: Transparent; font-family: Courier New; font-size: 11px;">object</span> sender,
EventArgs e)<br />
{<br />
_cal.SelectionMode <span style="color: Red; background-color: Transparent; font-family: Courier New; font-size: 11px;">=</span> CalendarSelectionMode.DayWeek;<br /><br /><span style="color: Green; background-color: Transparent; font-family: Courier New; font-size: 11px;">//
setup today's date values</span><br />
DateTime dtCurrent <span style="color: Red; background-color: Transparent; font-family: Courier New; font-size: 11px;">=</span> DateTime.Now;<br />
DayOfWeek dowCurrent <span style="color: Red; background-color: Transparent; font-family: Courier New; font-size: 11px;">=</span> dtCurrent.DayOfWeek;<br /><br /><span style="color: Green; background-color: Transparent; font-family: Courier New; font-size: 11px;">//
setup day to start week</span><br /><span style="color: Blue; background-color: Transparent; font-family: Courier New; font-size: 11px;">string</span> strDayToStartWeek <span style="color: Red; background-color: Transparent; font-family: Courier New; font-size: 11px;">=</span><span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;">"Thursday"</span>; <span style="color: Green; background-color: Transparent; font-family: Courier New; font-size: 11px;">//
test text value - TODO: from database</span><br />
DayOfWeek dowDayToStartWeek <span style="color: Red; background-color: Transparent; font-family: Courier New; font-size: 11px;">=</span> (DayOfWeek)Enum.Parse(<span style="color: Blue; background-color: Transparent; font-family: Courier New; font-size: 11px;">typeof</span>(DayOfWeek),
strDayToStartWeek);<br />
FirstDayOfWeek configLeadingDOW <span style="color: Red; background-color: Transparent; font-family: Courier New; font-size: 11px;">=</span> (FirstDayOfWeek)Enum.Parse(<span style="color: Blue; background-color: Transparent; font-family: Courier New; font-size: 11px;">typeof</span>(FirstDayOfWeek),
strDayToStartWeek);<br /><br /><span style="color: Green; background-color: Transparent; font-family: Courier New; font-size: 11px;">//
set calendar to start week on stored preference</span><br />
_cal.FirstDayOfWeek <span style="color: Red; background-color: Transparent; font-family: Courier New; font-size: 11px;">=</span> configLeadingDOW;<br /><br /><span style="color: Green; background-color: Transparent; font-family: Courier New; font-size: 11px;">//
select the dates</span><br />
SelectDatesForWeeklyReport(dtCurrent, dowDayToStartWeek);<br />
}<br /><br /><span style="color: Green; background-color: Transparent; font-family: Courier New; font-size: 11px;">///
&lt;summary&gt;</span><br /><span style="color: Green; background-color: Transparent; font-family: Courier New; font-size: 11px;">///
Select all the days from today back to the day which is nominated as the beginning
of the week</span><br /><span style="color: Green; background-color: Transparent; font-family: Courier New; font-size: 11px;">///
&lt;/summary&gt;</span><br /><span style="color: Green; background-color: Transparent; font-family: Courier New; font-size: 11px;">///
&lt;param name="dtCurrent"&gt;Today's date&lt;/param&gt;</span><br /><span style="color: Green; background-color: Transparent; font-family: Courier New; font-size: 11px;">///
&lt;param name="dowDayToStartWeek"&gt;Day which is nominated as the beginning of the
week&lt;/param&gt;</span><br /><span style="color: Blue; background-color: Transparent; font-family: Courier New; font-size: 11px;">private</span><span style="color: Blue; background-color: Transparent; font-family: Courier New; font-size: 11px;">void</span> SelectDatesForWeeklyReport(DateTime
dtCurrent, DayOfWeek dowDayToStartWeek)<br />
{<br />
DateTime dtSelectedDate <span style="color: Red; background-color: Transparent; font-family: Courier New; font-size: 11px;">=</span> dtCurrent;<br /><br /><span style="color: Blue; background-color: Transparent; font-family: Courier New; font-size: 11px;">bool</span> exitLoop <span style="color: Red; background-color: Transparent; font-family: Courier New; font-size: 11px;">=</span><span style="color: Blue; background-color: Transparent; font-family: Courier New; font-size: 11px;">true</span>;<br /><br /><span style="color: Blue; background-color: Transparent; font-family: Courier New; font-size: 11px;">while</span> (exitLoop)<br />
{<br /><span style="color: Blue; background-color: Transparent; font-family: Courier New; font-size: 11px;">if</span> (dtSelectedDate.DayOfWeek
== dowDayToStartWeek)<br />
{<br /><span style="color: Green; background-color: Transparent; font-family: Courier New; font-size: 11px;">//
select the start of the week</span><br />
_cal.SelectedDates.Add(dtSelectedDate);<br />
exitLoop <span style="color: Red; background-color: Transparent; font-family: Courier New; font-size: 11px;">=</span><span style="color: Blue; background-color: Transparent; font-family: Courier New; font-size: 11px;">false</span>;<br />
}<br /><span style="color: Blue; background-color: Transparent; font-family: Courier New; font-size: 11px;">else</span><br />
{<br />
_cal.SelectedDates.Add(dtSelectedDate);<br />
}<br />
dtSelectedDate <span style="color: Red; background-color: Transparent; font-family: Courier New; font-size: 11px;">=</span> dtSelectedDate.AddDays(-1);<br />
}<br />
}<br />
}<br />
}</span></pre><br /><p></p><img width="0" height="0" src="http://blog.mikepoole.net/aggbug.ashx?id=752bed9c-fbb3-422d-8434-dd824282ecb3" /></body>
      <title>ASP.NET Calendar Manipulation</title>
      <guid isPermaLink="false">http://blog.mikepoole.net/PermaLink,guid,752bed9c-fbb3-422d-8434-dd824282ecb3.aspx</guid>
      <link>http://blog.mikepoole.net/PermaLink,guid,752bed9c-fbb3-422d-8434-dd824282ecb3.aspx</link>
      <pubDate>Tue, 11 May 2010 09:57:49 GMT</pubDate>
      <description>I've been doing some ASP.NET development work in my spare time and came 
across a customer requirement where the Calendar control used for a 
reporting system needed to be able to:&lt;br&gt;
&lt;br&gt;
&lt;ol&gt;
&lt;li&gt;
change the day that the week started on based on a stored text value&lt;/li&gt;
&lt;li&gt;
select all days from the current week from today's date back to and including the
starting day of the week (whatever that was configured to)&lt;/li&gt;
&lt;/ol&gt;
&lt;br&gt;
The use of different enumerations for Day surprised me and also the looping logic
required took some thinking about when the comparitive integer values of Days could
not be used as a means of comparison.&lt;br&gt;
&lt;br&gt;
Screenshot and code sample below ran for today's date.&lt;br&gt;
&lt;br&gt;
&lt;img src="http://blog.mikepoole.net/content/binary/_cal.png" border="0"&gt;
&lt;br&gt;
&lt;br&gt;
&lt;pre style="font-size: 11px; font-family: Courier New;"&gt;&lt;span style="color: Black; background-color: Transparent; font-family: Courier New; font-size: 11px;"&gt;&lt;span style="color: Blue; background-color: Transparent; font-family: Courier New; font-size: 11px;"&gt;using&lt;/span&gt; System;&lt;br&gt;
&lt;span style="color: Blue; background-color: Transparent; font-family: Courier New; font-size: 11px;"&gt;using&lt;/span&gt; System.Collections.Generic;&lt;br&gt;
&lt;span style="color: Blue; background-color: Transparent; font-family: Courier New; font-size: 11px;"&gt;using&lt;/span&gt; System.Linq;&lt;br&gt;
&lt;span style="color: Blue; background-color: Transparent; font-family: Courier New; font-size: 11px;"&gt;using&lt;/span&gt; System.Web;&lt;br&gt;
&lt;span style="color: Blue; background-color: Transparent; font-family: Courier New; font-size: 11px;"&gt;using&lt;/span&gt; System.Web.UI;&lt;br&gt;
&lt;span style="color: Blue; background-color: Transparent; font-family: Courier New; font-size: 11px;"&gt;using&lt;/span&gt; System.Web.UI.WebControls;&lt;br&gt;
&lt;br&gt;
&lt;span style="color: Blue; background-color: Transparent; font-family: Courier New; font-size: 11px;"&gt;namespace&lt;/span&gt; WebCalendar&lt;br&gt;
{&lt;br&gt;
&lt;span style="color: Blue; background-color: Transparent; font-family: Courier New; font-size: 11px;"&gt;public&lt;/span&gt; partial &lt;span style="color: Blue; background-color: Transparent; font-family: Courier New; font-size: 11px;"&gt;class&lt;/span&gt; _Default
: System.Web.UI.Page&lt;br&gt;
{&lt;br&gt;
&lt;span style="color: Blue; background-color: Transparent; font-family: Courier New; font-size: 11px;"&gt;protected&lt;/span&gt; &lt;span style="color: Blue; background-color: Transparent; font-family: Courier New; font-size: 11px;"&gt;void&lt;/span&gt; Page_Load(&lt;span style="color: Blue; background-color: Transparent; font-family: Courier New; font-size: 11px;"&gt;object&lt;/span&gt; sender,
EventArgs e)&lt;br&gt;
{&lt;br&gt;
_cal.SelectionMode &lt;span style="color: Red; background-color: Transparent; font-family: Courier New; font-size: 11px;"&gt;=&lt;/span&gt; CalendarSelectionMode.DayWeek;&lt;br&gt;
&lt;br&gt;
&lt;span style="color: Green; background-color: Transparent; font-family: Courier New; font-size: 11px;"&gt;//
setup today's date values&lt;/span&gt;
&lt;br&gt;
DateTime dtCurrent &lt;span style="color: Red; background-color: Transparent; font-family: Courier New; font-size: 11px;"&gt;=&lt;/span&gt; DateTime.Now;&lt;br&gt;
DayOfWeek dowCurrent &lt;span style="color: Red; background-color: Transparent; font-family: Courier New; font-size: 11px;"&gt;=&lt;/span&gt; dtCurrent.DayOfWeek;&lt;br&gt;
&lt;br&gt;
&lt;span style="color: Green; background-color: Transparent; font-family: Courier New; font-size: 11px;"&gt;//
setup day to start week&lt;/span&gt;
&lt;br&gt;
&lt;span style="color: Blue; background-color: Transparent; font-family: Courier New; font-size: 11px;"&gt;string&lt;/span&gt; strDayToStartWeek &lt;span style="color: Red; background-color: Transparent; font-family: Courier New; font-size: 11px;"&gt;=&lt;/span&gt; &lt;span style="color: rgb(102, 102, 102); background-color: rgb(228, 228, 228); font-family: Courier New; font-size: 11px;"&gt;"Thursday"&lt;/span&gt;; &lt;span style="color: Green; background-color: Transparent; font-family: Courier New; font-size: 11px;"&gt;//
test text value - TODO: from database&lt;/span&gt;
&lt;br&gt;
DayOfWeek dowDayToStartWeek &lt;span style="color: Red; background-color: Transparent; font-family: Courier New; font-size: 11px;"&gt;=&lt;/span&gt; (DayOfWeek)Enum.Parse(&lt;span style="color: Blue; background-color: Transparent; font-family: Courier New; font-size: 11px;"&gt;typeof&lt;/span&gt;(DayOfWeek),
strDayToStartWeek);&lt;br&gt;
FirstDayOfWeek configLeadingDOW &lt;span style="color: Red; background-color: Transparent; font-family: Courier New; font-size: 11px;"&gt;=&lt;/span&gt; (FirstDayOfWeek)Enum.Parse(&lt;span style="color: Blue; background-color: Transparent; font-family: Courier New; font-size: 11px;"&gt;typeof&lt;/span&gt;(FirstDayOfWeek),
strDayToStartWeek);&lt;br&gt;
&lt;br&gt;
&lt;span style="color: Green; background-color: Transparent; font-family: Courier New; font-size: 11px;"&gt;//
set calendar to start week on stored preference&lt;/span&gt;
&lt;br&gt;
_cal.FirstDayOfWeek &lt;span style="color: Red; background-color: Transparent; font-family: Courier New; font-size: 11px;"&gt;=&lt;/span&gt; configLeadingDOW;&lt;br&gt;
&lt;br&gt;
&lt;span style="color: Green; background-color: Transparent; font-family: Courier New; font-size: 11px;"&gt;//
select the dates&lt;/span&gt;
&lt;br&gt;
SelectDatesForWeeklyReport(dtCurrent, dowDayToStartWeek);&lt;br&gt;
}&lt;br&gt;
&lt;br&gt;
&lt;span style="color: Green; background-color: Transparent; font-family: Courier New; font-size: 11px;"&gt;///
&amp;lt;summary&amp;gt;&lt;/span&gt;
&lt;br&gt;
&lt;span style="color: Green; background-color: Transparent; font-family: Courier New; font-size: 11px;"&gt;///
Select all the days from today back to the day which is nominated as the beginning
of the week&lt;/span&gt;
&lt;br&gt;
&lt;span style="color: Green; background-color: Transparent; font-family: Courier New; font-size: 11px;"&gt;///
&amp;lt;/summary&amp;gt;&lt;/span&gt;
&lt;br&gt;
&lt;span style="color: Green; background-color: Transparent; font-family: Courier New; font-size: 11px;"&gt;///
&amp;lt;param name="dtCurrent"&amp;gt;Today's date&amp;lt;/param&amp;gt;&lt;/span&gt;
&lt;br&gt;
&lt;span style="color: Green; background-color: Transparent; font-family: Courier New; font-size: 11px;"&gt;///
&amp;lt;param name="dowDayToStartWeek"&amp;gt;Day which is nominated as the beginning of the
week&amp;lt;/param&amp;gt;&lt;/span&gt;
&lt;br&gt;
&lt;span style="color: Blue; background-color: Transparent; font-family: Courier New; font-size: 11px;"&gt;private&lt;/span&gt; &lt;span style="color: Blue; background-color: Transparent; font-family: Courier New; font-size: 11px;"&gt;void&lt;/span&gt; SelectDatesForWeeklyReport(DateTime
dtCurrent, DayOfWeek dowDayToStartWeek)&lt;br&gt;
{&lt;br&gt;
DateTime dtSelectedDate &lt;span style="color: Red; background-color: Transparent; font-family: Courier New; font-size: 11px;"&gt;=&lt;/span&gt; dtCurrent;&lt;br&gt;
&lt;br&gt;
&lt;span style="color: Blue; background-color: Transparent; font-family: Courier New; font-size: 11px;"&gt;bool&lt;/span&gt; exitLoop &lt;span style="color: Red; background-color: Transparent; font-family: Courier New; font-size: 11px;"&gt;=&lt;/span&gt; &lt;span style="color: Blue; background-color: Transparent; font-family: Courier New; font-size: 11px;"&gt;true&lt;/span&gt;;&lt;br&gt;
&lt;br&gt;
&lt;span style="color: Blue; background-color: Transparent; font-family: Courier New; font-size: 11px;"&gt;while&lt;/span&gt; (exitLoop)&lt;br&gt;
{&lt;br&gt;
&lt;span style="color: Blue; background-color: Transparent; font-family: Courier New; font-size: 11px;"&gt;if&lt;/span&gt; (dtSelectedDate.DayOfWeek
== dowDayToStartWeek)&lt;br&gt;
{&lt;br&gt;
&lt;span style="color: Green; background-color: Transparent; font-family: Courier New; font-size: 11px;"&gt;//
select the start of the week&lt;/span&gt;
&lt;br&gt;
_cal.SelectedDates.Add(dtSelectedDate);&lt;br&gt;
exitLoop &lt;span style="color: Red; background-color: Transparent; font-family: Courier New; font-size: 11px;"&gt;=&lt;/span&gt; &lt;span style="color: Blue; background-color: Transparent; font-family: Courier New; font-size: 11px;"&gt;false&lt;/span&gt;;&lt;br&gt;
}&lt;br&gt;
&lt;span style="color: Blue; background-color: Transparent; font-family: Courier New; font-size: 11px;"&gt;else&lt;/span&gt;
&lt;br&gt;
{&lt;br&gt;
_cal.SelectedDates.Add(dtSelectedDate);&lt;br&gt;
}&lt;br&gt;
dtSelectedDate &lt;span style="color: Red; background-color: Transparent; font-family: Courier New; font-size: 11px;"&gt;=&lt;/span&gt; dtSelectedDate.AddDays(-1);&lt;br&gt;
}&lt;br&gt;
}&lt;br&gt;
}&lt;br&gt;
}&lt;/span&gt;&lt;/pre&gt;
&lt;br&gt;
&lt;p&gt;
&lt;/p&gt;
&lt;img width="0" height="0" src="http://blog.mikepoole.net/aggbug.ashx?id=752bed9c-fbb3-422d-8434-dd824282ecb3" /&gt;</description>
      <comments>http://blog.mikepoole.net/CommentView,guid,752bed9c-fbb3-422d-8434-dd824282ecb3.aspx</comments>
      <category>ASP.NET v2.0</category>
    </item>
    <item>
      <trackback:ping>http://blog.mikepoole.net/Trackback.aspx?guid=80131486-c52e-4773-8bbf-52843e4edcb1</trackback:ping>
      <pingback:server>http://blog.mikepoole.net/pingback.aspx</pingback:server>
      <pingback:target>http://blog.mikepoole.net/PermaLink,guid,80131486-c52e-4773-8bbf-52843e4edcb1.aspx</pingback:target>
      <dc:creator>Mike</dc:creator>
      <wfw:comment>http://blog.mikepoole.net/CommentView,guid,80131486-c52e-4773-8bbf-52843e4edcb1.aspx</wfw:comment>
      <wfw:commentRss>http://blog.mikepoole.net/SyndicationService.asmx/GetEntryCommentsRss?guid=80131486-c52e-4773-8bbf-52843e4edcb1</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">I'm in the process of converting some web
applications from v1.1 to v2.0 which is proving <i>interesting</i>.<br /><br />
Initially I used a blank ASP.NET Web Site and added in the web applications using
the IIS option and C# library projects.<br />
I got loads of errors and warnings when compiling. I have needed to qualify the use
of my <a href="http://msdn2.microsoft.com/en-us/library/system.web.ui.webcontrols.menu.aspx">Menu</a> class
with its namespace as the Menu class is now part of the framework and <a href="http://msdn2.microsoft.com/en-us/library/bahh2fef.aspx">some
new methods for registering client script blocks</a>. A forum post and some time later
I decided to start again using the <a href="http://webproject.scottgu.com/CSharp/Migration/Migration.aspx">Web
Application Project</a> model (ironic aside: under Step 6 there is a link to a MSDN
site regarding breaking changes in v2.0 - it just happens to be a broken link) which
is a download for VS 2005. 
<br /><br />
Overall, I have found this better so far as there are less compilation errors. However,
one of the few I had I <a href="http://www.google.co.uk/search?hl=en&amp;q=The+element+%27compilation%27+has+invalid+child+element+%27compilers%27.+List+of+possible+elements+expected%3A+%27assemblies%2C+buildProviders%2C+codeSubDirectories%2C+expressionBuilders%27&amp;btnG=Google+Search&amp;meta=">only
got 3 results from google</a> and <a href="http://www.netnewsgroups.net/group/microsoft.public.dotnet.framework.aspnet/topic14318.aspx">only
1 usable and correct solution</a>.<br /><br />
The whole solution now compiles but there are some hiccups in the execution which
I am still sorting out.<br /><p></p><img width="0" height="0" src="http://blog.mikepoole.net/aggbug.ashx?id=80131486-c52e-4773-8bbf-52843e4edcb1" /></body>
      <title>"The element 'compilation' has invalid child element" and other such fun</title>
      <guid isPermaLink="false">http://blog.mikepoole.net/PermaLink,guid,80131486-c52e-4773-8bbf-52843e4edcb1.aspx</guid>
      <link>http://blog.mikepoole.net/PermaLink,guid,80131486-c52e-4773-8bbf-52843e4edcb1.aspx</link>
      <pubDate>Thu, 31 Jan 2008 13:52:52 GMT</pubDate>
      <description>I'm in the process of converting some web applications from v1.1 to v2.0 which is proving &lt;i&gt;interesting&lt;/i&gt;.&lt;br&gt;
&lt;br&gt;
Initially I used a blank ASP.NET Web Site and added in the web applications using
the IIS option and C# library projects.&lt;br&gt;
I got loads of errors and warnings when compiling. I have needed to qualify the use
of my &lt;a href="http://msdn2.microsoft.com/en-us/library/system.web.ui.webcontrols.menu.aspx"&gt;Menu&lt;/a&gt; class
with its namespace as the Menu class is now part of the framework and &lt;a href="http://msdn2.microsoft.com/en-us/library/bahh2fef.aspx"&gt;some
new methods for registering client script blocks&lt;/a&gt;. A forum post and some time later
I decided to start again using the &lt;a href="http://webproject.scottgu.com/CSharp/Migration/Migration.aspx"&gt;Web
Application Project&lt;/a&gt; model (ironic aside: under Step 6 there is a link to a MSDN
site regarding breaking changes in v2.0 - it just happens to be a broken link) which
is a download for VS 2005. 
&lt;br&gt;
&lt;br&gt;
Overall, I have found this better so far as there are less compilation errors. However,
one of the few I had I &lt;a href="http://www.google.co.uk/search?hl=en&amp;amp;q=The+element+%27compilation%27+has+invalid+child+element+%27compilers%27.+List+of+possible+elements+expected%3A+%27assemblies%2C+buildProviders%2C+codeSubDirectories%2C+expressionBuilders%27&amp;amp;btnG=Google+Search&amp;amp;meta="&gt;only
got 3 results from google&lt;/a&gt; and &lt;a href="http://www.netnewsgroups.net/group/microsoft.public.dotnet.framework.aspnet/topic14318.aspx"&gt;only
1 usable and correct solution&lt;/a&gt;.&lt;br&gt;
&lt;br&gt;
The whole solution now compiles but there are some hiccups in the execution which
I am still sorting out.&lt;br&gt;
&lt;p&gt;
&lt;/p&gt;
&lt;img width="0" height="0" src="http://blog.mikepoole.net/aggbug.ashx?id=80131486-c52e-4773-8bbf-52843e4edcb1" /&gt;</description>
      <comments>http://blog.mikepoole.net/CommentView,guid,80131486-c52e-4773-8bbf-52843e4edcb1.aspx</comments>
      <category>ASP.NET v2.0</category>
    </item>
  </channel>
</rss>