<?xml version="1.0" encoding="utf-16"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <description>A compilation of articles written to provide assistance to .NET developers.</description>
    <docs>http://blogs.law.harvard.edu/tech/rss</docs>
    <link>http://www.dotnetadvisor.com/blog/</link>
    <title>.NET Advisor Blog</title>
    <webMaster>rob.mills@dotnetadvisor.com (Rob Mills)</webMaster>
    <item>
      <description>ASP.NET has a great setup where a page posts back to itself and all controls are contained in one form.  However, there are times when it's useful to have multiple forms setup on a page each with their own inputs and url to post to.  Unfortunately, aspx pages make it difficult to accomplish which you are certainly aware given the fact that you found this article.  Follow me here as I show you a solution I've come to use quite a lot with my applications.</description>
      <guid isPermaLink="false">7e1655d4-53ee-4aef-a9f4-856affbc0cfd</guid>
      <link>http://www.dotnetadvisor.com/Blog/MultipleForms.aspx</link>
      <pubDate>Wed, 18 Jun 2008 00:00:00 -0700</pubDate>
      <title>Use Multiple Forms in an ASP.NET page</title>
    </item>
    <item>
      <description>Ever try to dynamically add a control to a web page only to find it's events don't work correctly, property settings don't persist across postbacks or even worse the control disappears after a postback?  Dynamic controls can be a bit frustrating when you first learn how to use them.  Rest assured once you learn a few key points you'll be able to get them to function just as good as declared controls.</description>
      <guid isPermaLink="false">144435ee-9a7c-480d-8cb9-f79c91595de0</guid>
      <link>http://www.dotnetadvisor.com/Blog/DynamicControls.aspx</link>
      <pubDate>Fri, 30 May 2008 00:00:00 -0700</pubDate>
      <title>Dynamically Add Controls to a Web Page</title>
    </item>
    <item>
      <description>Have you ever wondered how to implement an interface and what the difference is between implementing it implicitly versus explicity?  I did a lot of searching on the topic myself before really getting a firm grasp on the differences.  Let me explain in this article how to go about using the two methods.</description>
      <guid isPermaLink="false">d4ac3cc1-cf63-43f2-8440-ab9ae9dc0af8</guid>
      <link>http://www.dotnetadvisor.com/Blog/InterfaceImplementation.aspx</link>
      <pubDate>Thu, 29 May 2008 00:00:00 -0700</pubDate>
      <title>Implicit vs. Explicit Implementation of an Interface</title>
    </item>
    <item>
      <description>&lt;p&gt;MasterPages are a great feature that's new to the .NET 2.0 framework.  They simplify the process of applying a look and feel across multiple pages in your ASP.NET application.  Before these came about making a change that would apply to all your pages was quite a task as you had to go around to each page and make the change manually.  Not only was it inefficient but there was always the possibility that you would miss a page.  Now you can make the change in one file and the change will automatically be reflected in all your content pages.&lt;/p&gt;&lt;p&gt;There are times when you want to be able to customize a portion of your masterpage from your content page.  There is actually a couple ways to accomplish this task.  Follow me in this article as I show you how.&lt;/p&gt;</description>
      <guid isPermaLink="false">cdf4186f-ec04-41e8-af0d-4f70d16de6e9</guid>
      <link>http://www.dotnetadvisor.com/Blog/MasterPageControls.aspx</link>
      <pubDate>Wed, 07 May 2008 00:00:00 -0700</pubDate>
      <title>Access Controls Contained in a MasterPage through a Content Page</title>
    </item>
    <item>
      <description>Have you ever wanted to create a hash from an input and then convert the hash back to a string for storing?  It's fairly simple to do with the .NET Framework.  But why not create your own class to encapsulate the logic for easy use later on.  Read on to learn how to create a simple class to perform this task.</description>
      <guid isPermaLink="false">843df668-77dd-4c03-b40b-1c8b326b318a</guid>
      <link>http://www.dotnetadvisor.com/Blog/HashString.aspx</link>
      <pubDate>Wed, 23 Apr 2008 00:00:00 -0700</pubDate>
      <title>Create a String from a Hash</title>
    </item>
    <item>
      <description>Pinning the footer to the bottom of the browser's viewport has been a challenge that many people seem to encounter when using CSS.  It keep quite a task to come up with a solution that works across all major browsers and versions.  The particular setup I use I've been using for quite awhile.  I find it reliable and hopefully it will help you resolve this issue for yourself.</description>
      <guid isPermaLink="false">83e544d4-24ee-4390-9b9e-5e5aedce66e5</guid>
      <link>http://www.dotnetadvisor.com/Blog/PinnedFooter.aspx</link>
      <pubDate>Tue, 08 Apr 2008 00:00:00 -0700</pubDate>
      <title>Use CSS to pin the footer to the bottom of the browser's viewport.</title>
    </item>
    <item>
      <description>When I was new to object-oriented programming I tended to steer clear of adding custom events to my classes.  Methods and properties were easy to grasp and setup and I just really had not come to understand how useful events were in order to be motivated to learn how to create them.  But for those of you that have found this article I can assure you they are a very useful tool that can make things much simpler for you.  After all, object-oriented programming is event-driven.  Follow me in this article to learn how you can create your own custom event.</description>
      <guid isPermaLink="false">0d606fc9-26f3-4fb5-8c73-3f89cb743b09</guid>
      <link>http://www.dotnetadvisor.com/Blog/CustomEvent.aspx</link>
      <pubDate>Sun, 30 Mar 2008 00:00:00 -0700</pubDate>
      <title>Publish a Custom Event</title>
    </item>
    <item>
      <description>In the past I've opted to use the ObjectDataSource control instead of SqlDataSource control because I had the mindset that separating the business logic from the presentation layer was a must and in many cases it is.  But as I've come to develop some more simple web applications which would be hosted on a shared hosting account I've come around a little on that.  Many of those sites really didn't have a whole lot of extra logic surrounding each connection to the database.  I found by keeping these smaller web sites in a 2-tier architecture I saved myself a lot of time.  I like the &amp;quot;keep it simple&amp;quot; method.</description>
      <guid isPermaLink="false">c9ebc4c1-098c-4b35-b556-faf5772aff0e</guid>
      <link>http://www.dotnetadvisor.com/Blog/BusinessLogicSqlDataSource.aspx</link>
      <pubDate>Fri, 14 Mar 2008 00:00:00 -0700</pubDate>
      <title>Implement Business Logic with the SqlDataSource Control</title>
    </item>
    <item>
      <description>If you are like me you have been in a situation many times before where you needed to validate the input of controls on your web form only if certain conditions existed.  For example, an order form commonly presents two sets of fields for collecting the customer's billing and shipping addresses.  In many cases the two addresses are identical so a checkbox is present to indicate as such and therefore only one set needs to be completed.  To implement this with the existing framework validation controls you'd have to use several instances of the CustomValidator control.  There's certainly nothing wrong with this but I wasn't satisfied with that.  I wanted to extend the framework to make this situation much easier.  Wouldn't it be great if you could write one method in your code-behind and one javascript method where you would write the logic for determining whether validation should be performed or not and have all your validation controls use this same logic?  In fact you can and I will show you how.</description>
      <guid isPermaLink="false">99448401-c002-44bd-b3e1-e4baa86faf3f</guid>
      <link>http://www.dotnetadvisor.com/Blog/ConditionalValidation.aspx</link>
      <pubDate>Thu, 21 Feb 2008 00:00:00 -0700</pubDate>
      <title>How to Validate Controls Only if Certain Conditions are Met.</title>
    </item>
    <item>
      <description>For those of you who develop applications using the .NET Framework are no doubt familiar with the many tools that are available to work with and manipulate strings.  I have found that many of those methods are also built into javascript.  Unfortunately, some of my favorite methods I use often, the trim methods, are not available.</description>
      <guid isPermaLink="false">003bc687-e2a8-40f4-8618-8b91648042e2</guid>
      <link>http://www.dotnetadvisor.com/Blog/TrimStringJavascript.aspx</link>
      <pubDate>Wed, 23 Jan 2008 00:00:00 -0700</pubDate>
      <title>Trimming a string in javascript</title>
    </item>
    <item>
      <description>Have you ever been in the situation where you needed to make a modification to an existing object in a SQL Server database but were not sure what impact the change would have on other objects?  What objects depend on this object you are about to change?  It can be a scary thing to make a change to a well-developed database system.</description>
      <guid isPermaLink="false">31b39184-5d9a-4b1c-8b6d-5db2e9aa48f5</guid>
      <link>http://www.dotnetadvisor.com/Blog/SQLServerDependentObjects.aspx</link>
      <pubDate>Tue, 22 Jan 2008 00:00:00 -0700</pubDate>
      <title>How to determine which objects depend on another object in Sql Server</title>
    </item>
  </channel>
</rss>