Version

Expanded Property (SplitterClientEvents)

Gets sets name of javascript function which is called after splitter pane was expanded.
Syntax
'Declaration
 
Public Property Expanded As String
public string Expanded {get; set;}
Example
//The client side event Expanded takes two parameters, sender and e.
//Sender is the object which is raising the event
//e is the SplitterPaneExpandedEventArgs

function WebSplitter1_Expanded(sender, e) {
   var websplitter = $find("WebSplitter1");
            
   // Gets a reference to the pane whose expanded state was changed
   var websplitterPane = e.get_pane();

   // Gets the index of the pane whose expanded state was changed
   var paneExpandedIndex = websplitterPane.get_index();
   window.status = "Pane Expanded Index " + paneExpandedIndex;

   // Lock the pane so that it cannot be resized after it is expanded
   websplitterPane.set_locked(true); 
}
Me.WebSplitter1.ClientEvents.Expanded = "WebSplitter_Expanded"
this.WebSplitter1.ClientEvents.Expanded = "WebSplitter_Expanded";
Requirements

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

See Also