title: Best way to navigate through panels on webpage using single next button as navigation
body: <p>I've got a number of asp.net panels within a div, and a single "next" asp net button as the bottom of the page, i was wondering what the best possible way to get the button navigating through each of them would be.</p>
  
  <p>Page layout:</p>
  
  <pre><code>&lt;container div&gt;
    &lt;asp:Panel ID="pnlInfo1" runat="server"&gt;
       &lt;div&gt;
         Content
       &lt;/div&gt;
     &lt;/asp:Panel&gt;
     &lt;asp:Panel ID="pnlInfo2" runat="server"&gt;
       &lt;div&gt;
         Content
       &lt;/div&gt;
     &lt;/asp:Panel&gt;
     --- Several more panels
   &lt;/container div&gt;
   &lt;div just for the button&gt;
      &lt;asp:Button ID="btnInfoNext" runat="server" Text="Next" /&gt;
   &lt;/div just for the button&gt;
  </code></pre>
  
  <p>I'm not entirely sure what the best way to get this up and running would be.</p>
  
  <p>What i'm looking for is a way to get the single button navigating through each of my panels, and hiding the one that was previously active</p>