ASP Uploader Class Reference

Uploader.ProgressCtrlID Property

It allows the developers specify a server control to use as the progress control of PHP File Uploader.


Example Code

  1. <%Language="VBScript" %>  
  2. <!-- #include file="aspuploader/include_aspuploader.asp" -->  
  3. <html>   
  4. <body>   
  5.         <form id="form1" method="POST">   
  6.             <%
  7.                 Dim uploader   
  8.                 Set uploader=new AspUploader   
  9.                 uploader.Name="myuploader"        
  10.                 'Specify the ID of the control that will be used as progress bar panel.       
  11.                 uploader.ProgressCtrlID="uploaderprogresspanel";       
  12.                 'Specify the ID of the control that will be used as progress text label.       
  13.                 uploader.ProgressTextID="uploaderprogresstext"
  14.                 uploader.Render()       
  15.             %>
  16.             <div id="uploaderprogresspanel" style='display:none;background-color:orange;border:dashed 2px gray;padding:4px;' BorderColor="Orange" BorderStyle="dashed">       
  17.                 <span id="uploaderprogresstext" style='color:firebrick'></span>       
  18.             </div>   
  19.         </form>   
  20. </body>   
  21. </html>