//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_SplitterBarMouseOut(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.SplitterBarMouseOut = "WebSplitter_SplitterBarMouseOut"
this.WebSplitter1.ClientEvents.SplitterBarMouseOut = "WebSplitter_SplitterBarMouseOut";