Create a custom progress bar panel
There are 4 simple steps to create a custom progress bar panel:
- Create a panel control which will be used as custom progress bar panel.
- Create a label control inside panel control. This label control will be used as custom progress text label.
- Use the ProgressCtrlID property to specify the ID of panel control.
- Use the ProgressTextID property to specify the ID of progress text label.
Example:
- <% @ Language="VBScript" %>
-
-
- <html>
- <body>
- <div>
- <%
- Dim uploader
- Set uploader=new AspUploader
- uploader.Name="myuploader"
- uploader.SaveDirectory="savefiles"
-
- uploader.ProgressCtrlID="uploaderprogresspanel"
- uploader.GetString()
- %>
- <div id="uploaderprogresspanel" style='display:none;background-color:orange;border:dashed 2px gray;padding:4px;' BorderColor="Orange" BorderStyle="dashed">
- <span id="uploaderprogresstext" style='color:firebrick'></span>
- </div>
- </div>
- </body>
- </html>