// 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";