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 + "' !"); }