Hi cyphersys,
If you are using custom button as the upload button, then disable the custom button directly, like the example below.
- <%@ Page Language="C#" AutoEventWireup="True" %>
-
- <%@ Register Assembly="CuteWebUI.AjaxUploader" Namespace="CuteWebUI" TagPrefix="ajaxuploader" %>
- <html>
- <head>
- <script runat="server">
-
- protected override void OnLoad(EventArgs e)
- {
- myUploader.Enabled = false;
- base.OnLoad(e);
- }
- </script>
- </head>
- <body>
- <form id="Form1" runat="server">
- <CuteWebUI:UploadAttachments runat="server" ID="Uploader1" InsertButtonID="myUploader">
- </CuteWebUI:UploadAttachments>
- <asp:Button ID="myUploader" runat="server" Text="Custom upload button" />
- </form>
- </body>
- </html>
Regards,
Ken