ASP Uploader Class Reference

Uploader.CancelButton Property

Gets or sets the allowed file extensions for uploading.


Example Code

  1. <%Language="VBScript" %>  
  2. <!--Step 1: Register Uploader to your page -->  
  3. <!-- #include file="aspuploader/include_aspuploader.asp" -->  
  4. <html>   
  5. <body>   
  6.         <form id="form1" method="POST">   
  7.             <%
  8.                 Dim uploader   
  9.                 Set uploader=new AspUploader   
  10.                 uploader.Name="myuploader"
  11.                 uploader.CancelButtonID="uploadercancelbutton"
  12.                 uploader.Render()  
  13.             ?>                  
  14.             <img id="uploadercancelbutton" style='display:none;' alt="Cancel" src="sampleimages/cancel_button.gif" />   
  15.         </form>   
  16. </body>   
  17. </html>  
am>