Version

ProgressChanged Property

Event fired when the value of the progressbar has changed.
Syntax
'Declaration
 
Public Property ProgressChanged As String
public string ProgressChanged {get; set;}
Example
WebProgressBar.ClientEvents.ProgressChanged = "WebProgressBar_ProgressChanged"
WebProgressBar.ClientEvents.ProgressChanged = "WebProgressBar_ProgressChanged";
// The client event 'ProgressChanged' takes two parameters sender and e
// sender  is the object which is raising the event
// e is the ProgressChangedEventArgs

function WebProgressBar_ProgressChanged(sender, e) {

    //Returns the new fill value of the bar
    var newFill = e.getNewFill();

    //Returns the old fill value of the bar
    var oldFill = e.getOldFill();

    alert("The fill value changed from '" + oldFill + "' to '" + newFill + "' !");
}
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