this code :
<asp:WebPartManager ID="myWPM" runat="server"> </asp:WebPartManager>
automatically generates JavaScript code at the bottom of the page:
<script type="text/javascript"> __wpm =
new WebPartManager(); __wpm.overlayContainerElement = document.getElementById('MainContent_myWPM___Drag');
__wpm.personalizationScopeShared = false; var zoneElement;
var zoneObject; zoneElement = document.getElementById('MainContent_leftArea') Go to the complete details ...