Skip to main content
Tab

ASPxUploadControl.ProgressBarStyle Property

Gets the style settings that define the appearance of the progress bar element.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.1.dll

NuGet Package: DevExpress.Web

Declaration

public ProgressStyle ProgressBarStyle { get; }

Property Value

Type Description
ProgressStyle

A ProgressStyle object containing style settings.

Remarks

The ProgressBarStyle property is in effect if the progress panel is visible (this is defined by the ASPxUploadControl.ShowProgressPanel property).

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