Create a custom cancel button
There are two simple steps to create a custom cancel button:
- Create a HTML button or image button which will be used as custom cancel button.
- Use the CancelButtonID property to specify the ID of the control that will be used as the cancel button.
Example:
- <% @ Language="VBScript" %>
-
-
- <html>
- <body>
- <div>
- <%
- Dim uploader
- Set uploader=new AspUploader
- uploader.Name="myuploader"
- uploader.SaveDirectory="savefiles"
-
- uploader.CancelButtonID="cancelbutton"
- uploader.GetString()
- %>
- <img id="uploadercancelbutton" style='display:none;' alt="Cancel" src="cancel_button.gif" />
- </div>
- </body>
- </html>