// The client event ResizerMouseOver takes two parameters sender and e // sender is the object which is raising the event // e is the EventArgs function WDW1_ResizerMouseOver(sender, e) { var wdw = $find("WebDialogWindow1"); //Gets reference to resizer if resizing is enabled var resizer = wdw.get_resizer(); //Sets tooltip for handle element resizer.set_toolTip("Drag from here to resize."); } // The client event ResizerMouseOut takes two parameters sender and e // sender is the object which is raising the event // e is the EventArgs function WDW1_ResizerMouseOut(sender, e) { var wdw = $find("WebDialogWindow1"); //Gets reference to resizer if resizing is enabled var resizer = wdw.get_resizer(); //Sets new size for target resizer.setSize(200 , 200); }
Me.WebDialogWindow1.ClientEvents.ResizerMouseOver = "WDW1_ResizerMouseOver" Me.WebDialogWindow1.ClientEvents.ResizerMouseOut = "WDW1_ResizerMouseOut"
this.WebDialogWindow1.ClientEvents.ResizerMouseOver = "WDW1_ResizerMouseOver"; this.WebDialogWindow1.ClientEvents.ResizerMouseOut = "WDW1_ResizerMouseOut";
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