Progress Bar
- 2 minutes to read
The BootstrapProgressBar control allows you to visually indicate a lengthy operation progress, operation rate, etc.
Bootstrap Progress Bar offers the following features.
The Capability to Limit an Indicated Range
The ASPxProgressBar.Minimum and ASPxProgressBar.Maximum properties define the range of values that represent the progress of an operation. The Minimum property is typically set to 0, and the Maximum property is typically set to a value indicating the completion of a task. For instance, to properly display the progress when uploading a group of files, the Maximum property could be set to the total number of files to be uploaded or to their total length.
The ASPxProgressBar.Position property defines the progress that the application has made toward completing the operation. Position property’s value lies in the range defined by the Minimum and Maximum property values.
Optional Text Display
The ASPxProgressBar.ShowPosition property defines whether or not the progress bar displays the text representation of a progress value. The ASPxProgressBar.DisplayMode property defines whether the progress bar displays the progress value in a percentage or a position view. The value displayed by the progress bar control only approximates the current value of the Position property.
Full-Featured Client-Side API
Booststrap Progress Bar provides you with a comprehensive client-side API. This API is implemented using JavaScript and is exposed via the BootstrapClientProgressBar object. The BootstrapClientProgressBar object serves as a client-side equivalent of the BootstrapProgressBar control.
You can operate with the editor values using the following methods.
Method Description ASPx Client Progress Bar. Get Maximum Gets the maximum range value of the progress bar. ASPx Client Progress Bar. Get Minimum Gets the minimum range value of the progress bar. ASPx Client Progress Bar. Get Percent Sets the percentage representation of the progress position. ASPx Client Progress Bar. Get Position Gets the position of the operation’s progress. ASPx Client Progress Bar. Set Maximum Sets the maximum range value of the progress bar. ASPx Client Progress Bar. Set Minimum Sets the minimum range value of the progress bar. ASPx Client Progress Bar. Set Min Max Values Sets the minimum and maximum range values of the progress bar. ASPx Client Progress Bar. Set Position Sets the position of the operation’s progress.