Skip to main content
Tab

ProgressBarSettings.ShowPosition Property

Gets or sets a value that specifies whether the progress bar indicator‘s position is visible within the progress bar.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v23.2.dll

NuGet Package: DevExpress.Web

Declaration

[DefaultValue(true)]
public bool ShowPosition { get; set; }

Property Value

Type Default Description
Boolean true

true, if the position is visible, otherwise, false.

Remarks

Use the ShowPosition property to specify whether the progress bar indicator‘s position is visible within the progress bar.

The progress bar indicator’s position can be specified via the ASPxProgressBarBase.Position property.

Note

The progress bar indicator is not displayed in the Metropolis and Metropolis Blue themes, because the themes are designed to be compact and minimalistic.

To learn how to display the progress bar indicator in the Metropolis themes, see the following Knowledge Base article: KA18643: Why some control settings are not in effect if the Theme property is used.

Example

This sample demonstrates how to use the ASPxUploadControl, and how to pass a file name that was saved on the server to the client, by using the server-side and client-side FileUploadComplete events.

     function OnUploadStart() {
         btnUpload.SetText("Uploading...");
         btnUpload.SetEnabled(false);
     }
     function OnUploadComplete(args) {
         btnUpload.SetText("Upload");
         btnUpload.SetEnabled(true);
         lblFileName.SetText(args.callbackData);
     }
See Also