Parameters
Return Value
Remarks
This function is predominantly used in the Window.Load event. It initializes the MenuBar DHTML when AbsoluteDragEnabled or AbsoluteDockEnabled are true, making it ready for these operations in the browser. It is also used when the MenuBar is operating in TabStrip mode.
Example
[HTML] <body onload="cswmMenuBarInit();"> [ASP / ASP.NET] <body onload="<%Response.Write(WebMenu.GenerateOnLoadEvent())%>"> [JavaScript] <SCRIPT> window.load=MyLoadEventHandler; function MyLoadEventHandler() { // Server-side method <%Response.Write(WebMenu.GenerateOnLoadEvent())%>; // Client-side method cswmMenuBarInit(); } </SCRIPT>