//The client side event SplitterBarMouseUp takes two parameters, sender and e. //Sender is the object which is raising the event //e is the EventArgs function WebSplitter1_SplitterBarMouseUp(sender, e) { var websplitter = $find("WebSplitter1"); // Gets reference to pane at index 0; websplitterPane = websplitter.getPaneAt(0); // Gets reference to pane at index 1 websplitterPane1 = websplitter.getPaneAt(1); // Collapse pane 0 websplitterPane.set_collapsed(true); // Collapse pane 1 websplitterPane1.set_collapsed(true); //Gets refernce to the browser event var browserRef = e.get_browserEvent(); }
Me.WebSplitter1.ClientEvents.SplitterBarMouseUp = "WebSplitter_SplitterBarMouseUp"
this.WebSplitter1.ClientEvents.SplitterBarMouseUp = "WebSplitter_SplitterBarMouseUp";
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