// The client event Resized takes two parameters sender and e // sender is the object which is raising the event // e is the ResizeEventArgs function WDW1_Resized(sender, e) { var wdw = $find("WebDialogWindow1"); //Gets reference to resizer if resizing is enabled var resizer = wdw.get_resizer(); //Gets old height var oldHeight = e.get_oldHeight(); //Gets old width var oldWidth = e.get_oldWidth(); //Gets new height var newHeight = e.get_height(); //Gets new width var newWidth = e.get_width(); //Sets tooltip for handle element var toolTip = resizer.set_toolTip("New height and width : " + newHeight + " , " + newWidth); }
Me.WebDialogWindow1.ClientEvents.Resized = "WDW1_Resized"
this.WebDialogWindow1.ClientEvents.Resized = "WDW1_Resized";