Edit this page

Events Overview

RadProgressBar provides a rich set of client-side events which allow easy and flexible use in a wide range of application scenarios. In this article you will find examples about each of these events,demonstrating how to handle and cancel them (if possible):

  • OnInitialize—raised when the RadProgressBar client-side object is initialized.

  • OnLoad—raised when the RadProgressBar client-side object is fully loaded. The full API of the control is available at this point.

  • OnValueChanging—raised just before the RadProgressBar value property is changed. You can handle this event in case you want to prevent the current value from changing.

  • OnValueChanged—raised after the RadProgressBar value property has been changed.

  • OnCompleted—raised when the RadProgressBar reaches its max value.

To use these events, simply write a JavaScript function that can be called when the event occurs. Then assign the name of this function as the value of the the corresponding property in the control's ClientEvents subtag.

RadProgressBar Client-side Methods for Attaching/Setaching Client-side Event Handlers

Name Arguments Description
add_initialize() Function Adds a handler for the OnInitialize ProgressBar client-side event.
add_load() Function Adds a handler for the OnLoad ProgressBar client-side event.
add_valueChanging() Function Adds a handler for the OnValueChanging ProgressBar client-side event.
add_valueChanged() Function Adds a handler for the OnValueChanged ProgressBar client-side event.
add_completed() Function Adds a handler for the OnCompleted ProgressBar client-side event.
remove_initialize() Function Removes a handler for the OnInitialize ProgressBar client-side event.
remove_load() Function Removes a handler for the OnLoad ProgressBar client-side event.
remove_valueChanging() Function Removes a handler for the OnValueChanging ProgressBar client-side event.
remove_valueChanged() Function Removes a handler for the OnValueChanged ProgressBar client-side event.
remove_completed() Function Removes a handler for the OnCompleted ProgressBar client-side event.

See Also