Version

Moving Property

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

function WDW1_Moving(sender, e) {

    var wdw = $find("WebDialogWindow1");

    //Gets old left position
    var oldX = e.get_oldX();

    //Gets old top position
    var oldY = e.get_oldY();

    //Gets new left position
    var newX = e.get_x();

    //Gets new top position
    var newY = e.get_y();

    window.status = "Old postion : X(" + oldX + ")Y(" + oldY + ") , New position : X(" + newX + ")Y(" + newY + ")";

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