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.v20.2.dll

Declaration

[DefaultValue(true)]
public bool ShowPosition { get; set; }
<DefaultValue(True)>
Public Property ShowPosition As Boolean

Property Value

Type Default Description
Boolean

true

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

Property Paths

You can access this nested property as listed below:

Library Object Type Path to ShowPosition
ASP.NET Controls and MVC Extensions ASPxHtmlEditorUploadControl
.ProgressBarSettings.ShowPosition
ASPxUploadControl
.ProgressBarSettings.ShowPosition
ASP.NET Bootstrap Controls BootstrapUploadControl
.ProgressBarSettings.ShowPosition
ASP.NET MVC Extensions MVCxUploadControl
.ProgressBarSettings.ShowPosition
UploadControlSettings
.ProgressBarSettings.ShowPosition

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.

Examples

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