title: Ajax and GridView-Fu -- how to make AccordionPanes work with GridViews?
body: <p>Ok, I know someone here has tried this ninja-elite level of coding before. Essentially what I want to do is this:</p>
  
  <p>I want a GridView where each row returned becomes the header portion of an asp.net-ajax AccordionPane. Each row also has some unique key, and when you click on each of those AcccordionPane headers, that will in turn reveal the content pane which will then open up another GridView which is populated with the information from that is pulled from a database with that unique key.</p>
  
  <p>Now I KNOW someone out there has tried something this insane --- and it doesn't seem to be that insanely hard, look in the cooments section from the poster named awni:</p>
  
  <p><a href="http://www.asp.net/learn/ajax-videos/video-87.aspx" rel="nofollow noreferrer">http://www.asp.net/learn/ajax-videos/video-87.aspx</a></p>
  
  <pre><code>&lt;ajaxToolkit:AccordionPane ID="AccordionPane2&gt;
      &lt;Header&gt;
         **********EACH HEADER IS A ROW FROM A DATABASE 
      &lt;/Header&gt;
      &lt;Content&gt;
          &lt;asp:GridView  DataSourceID="SqlDataSource1"&gt;
          &lt;Columns&gt;
             **********THIS GRIDVIEW IS POPULATED WITH A DATABASE QUERY
          &lt;/Columns&gt;
          &lt;/asp:GridView&gt;
      &lt;/Content&gt;
  &lt;/ajaxToolkit:AccordionPane&gt;
  </code></pre>
  
  <p>Is it possible?</p>