Percentage Property

Object: SoftArtisans.FileUpProgress
Syntax: Percentage
Type: Decimal
Read/Write: Read Only
Description:

This property returns what percentage of the transfer is complete. This is determined by the following formula:

TransferredBytes = ---------------- * 100 Total 
Examples:
ASP <%
intPercentComplete = progress.Percentage
%>
C# string strPercent = progress.Percentage.ToString("N") + "%";
VB.NET Dim strPercent As String = progress.Percentage.ToString("N") + "%"

Because progress indication requires the coordination of several scripts, please see the appropriate Programmer's Guide for a complete sample the demonstrates the use of the FileUp ProgressID property.

Copyright © 2010 SoftArtisans, Inc. All rights reserved.