//The client side event CollapseButtonMouseOut takes two parameters, sender and e. //Sender is the object which is raising the event //e is the EventArgs function WebSplitter1_CollapseButtonMouseOut(sender, e) { var websplitter = $find("WebSplitter1"); // Gets reference to pane at index 0 websplitterPane = websplitter.getPaneAt(0); // Toggle the collapsed state of the pane websplitter.toggle(websplitterPane); }
Me.WebSplitter1.ClientEvents.CollapseButtonMouseOut = "WebSplitter_CollapseButtonMouseOut"
this.WebSplitter1.ClientEvents.CollapseButtonMouseOut = "WebSplitter_CollapseButtonMouseOut";
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