ASP.Net: Using UpdatePanels in a GridView
<p>I'm trying to build a sort of Accordion effect using a GridView and UpdatePanels. And I have problems with tieing everything together:</p>

<pre><code>&lt;asp:GridView ID="gridMain" 
    runat="server" 
    ...  
 &gt;

 &lt;Columns&gt;

 ...

 &lt;asp:TemplateField ShowHeader="False"&gt;
 &lt;ItemTemplate&gt; 

 &lt;span&gt;Id:&lt;%# Eval("Id") %&gt;&lt;/span&gt;

 &lt;a href="/* javascript code to open the updatepanel??*/" title="Open"&gt;&lt;img ..../&gt;&lt;/a&gt;

 &lt;asp:UpdatePanel runat="server"&gt;
 &lt;ContentTemplate&gt;
 &lt;asp:PlaceHolder runat="server" Visible="false"&gt;

 &lt;asp:Label Text="??"/&gt;

 &lt;/asp:PlaceHolder&gt;
 &lt;/ContentTemplate&gt;
 &lt;/asp:UpdatePanel&gt;


 &lt;/ItemTemplate&gt;
 &lt;/asp:TemplateField&gt;

 &lt;/Columns&gt;

 &lt;/asp:GridView&gt;
</code></pre>

<p>How do I open the update panel using javascript? </p>
