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