I am trying to use the AJAX collapsible panel inside a user control which is loaded onto a Webpart in an AJAX enabled SharePoint site. I don't have any issues with using AJAX overal but I am having issues with this control. When the page loads, it does not collapse and when I click on the link to collapse/expand it just blinks and won't collapse. After a bit of reseach, I found that others have the same issue and a couple of people suggested to enclose the content panel in:
<div style="height:0px;position:absolute;" >
<asp:Panel> content </asp:Panel>
</div>
Doing that would fix the collapse issue but I think it defeats the purpose since you can't put anything underneath the panel or else it loads on top. Any suggestions?