The visibility of the RadProgressArea UI elements is controlled by the ProgressIndicators and DisplayCancelButton properties. The ProgressIndicators property is used to change the visibility of the standard progress indicators, such as: TotalProgressBar, TimeElapsed, TimeEstimated or TransferSpeed. The DisplayCancelButton property is used to change the visibility of the Cancel button, used to cancel the file upload.
The visual appearance of the RadProgressArea UI elements can be changed by setting the Skin property of the control. You may also modify one of the existing skins, or create one from scratch.
You can modify the positions and the HTML elements of the progress indicators by creating a ProgressTemplate.
Example:
The following example demonstrates how to set the RadProgressArea skin to "Vista" and display some of its progress indicators:
ASPX
|
<rad:radprogressarea runat="server" id="RadProgressArea1" skin="Vista" progressindicators="FilesCount,FilesCountBar,FilesCountPercent" />
|
VB.NET
|
RadProgressArea1.Skin = "Vista" RadProgressArea1.ProgressIndicators = ProgressIndicators.FilesCount Or _ ProgressIndicators.FilesCountBar Or ProgressIndicators.FilesCountPercent
|
C#
|
RadProgressArea1.Skin = "Vista"; RadProgressArea1.ProgressIndicators = ProgressIndicators.FilesCount | ProgressIndicators.FilesCountBar | ProgressIndicators.FilesCountPercent
|