Version

Expanding Property

Gets sets name of javascript function which is called before expand of a splitter pane.
Syntax
'Declaration
 
Public Property Expanding As String
public string Expanding {get; set;}
Remarks
Action of that event can be canceled.
Example
//The client side event Expanding takes two parameters, sender and e.
//Sender is the object which is raising the event
//e is the SplitterPaneExpandedEventArgs
function WebSplitter1_Expanding(sender, e) {
   var websplitter = $find("WebSplitter1);

   // Gets a reference to the pane that is related to the browser event in 
   // the splitter bar
   var websplitterPane = websplitter.getPaneFromEvent(e);

   // Confirm if end user wants to expand the pane
   if (!confirm("Do you want to continue expanding the pane?"))
      e.set_cancel(true);

   // Gets the size of the expanded pane
   var size = websplitterPane.get_size();
   window.status = "Size of expanded pane "+ size;
}
Me.WebSplitter1.ClientEvents.Expanding = "WebSplitter_Expanding"
this.WebSplitter1.ClientEvents.Expanding = "WebSplitter_Expanding";
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