Well, I have made a masterpage with a menu, build with an Accordion control. This menu contains links to other pages on my website, but I planned to make my website multicultural (in fact, for 2 languages, dutch and english). So, the links in the Content panels of the AccordionPanes show like this:
<a href="http://forums.asp.net/<%# mCulture %>/about/contact/contact.aspx">Contact</a>,
where the mCulture expands to "nl" or "en" when DataBind is called. And I called the Databind in the Page_Load event of the masterpage. That's what I'm trying to accomplish.
But, my point in this case is: when you have some databinding stuff in your page (whether or not in the Accordion), calling DataBind() on the page (in the Page_Load event) must not delete the AccordionPanes when it has no DataSource! In that case, the developer may have an Accordion with static data, which must not be overwritten or deleted!
By the way, the "if ( DataSource != null )" statement comes straightly from the microsoft documentation on the DataBind method!