//The client side event CollapseButtonMouseOver takes two parameters, sender and e.; //Sender is the object which is raising the event //e is the EventArgs function WebSplitter1_CollapseButtonMouseOver(sender, e) { var websplitter = $find("WebSplitter1"); // Gets reference to pane at index 0 var websplitterPane = websplitter.getPaneAt(0); // Toggle the collapsed state of the pane websplitter.toggle(websplitterPane); }
Me.WebSplitter1.ClientEvents.CollapseButtonMouseOver = "WebSplitter_CollapseButtonMouseOver"
this.WebSplitter1.ClientEvents.CollapseButtonMouseOver = "WebSplitter_CollapseButtonMouseOver";
Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2