Version

Resizing Property

Gets sets name of javascript function which is called while control is resizing.
Syntax
'Declaration
 
Public Property Resizing As String
public string Resizing {get; set;}
Example
// The client event Resizing takes two parameters sender and e
// sender  is the object which is raising the event
// e is the ResizeEventArgs

     
function WDW1_Resizing(sender, e) {

    var wdw = $find("WebDialogWindow1");

    //Gets top edge of dialog
    var top = wdw.get_top();

    //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();

    window.status = "Top : "+ top +" / Old height and width : " + oldHeight + " , " + oldWidth + " / New height and width : " + newHeight + " , " + newWidth;

}
Me.WebDialogWindow1.ClientEvents.Resizing = "WDW1_Resizing"
this.WebDialogWindow1.ClientEvents.Resizing = "WDW1_Resizing";
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