Hi,
with this requirement, I suggest you use the custom cancel button, like the example below. so you can apply the style for the custom button directly.
- <%@ Page Language="c#" %>
-
- <%@ Register Namespace="CuteWebUI" Assembly="CuteWebUI.AjaxUploader" TagPrefix="CuteWebUI" %>
- <html>
- <head>
- <style>
- .redColor {
- background-color: blue;
- }
- </style>
- </head>
- <body>
- <form id="Form1" method="post" runat="server">
- <CuteWebUI:UploadAttachments ID="uploader1" runat="server"
- ProgressCtrlID="progress" CancelButtonID="btnCancel">
- </CuteWebUI:UploadAttachments>
- <asp:Button ID="btnCancel" runat="server" Text="my cancel button" CssClass="redColor" />
- <div id="progress">
- Progress bar follows
- </div>
- </form>
- </body>
- </html>
Regards,
Ken