//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";