I am trying to disable the button that causes post back and starts the file upload. This is to avoid user hitting the button twice and causing the file to be uploaded again.
<telerik:RadAsyncUpload
RenderMode="Lightweight" runat="server"
ID="RadAsyncUpload1"
OnFileUploaded="serversideFileUploadedEvent"
OnClientFileSelected="OnFileSelected"
OnClientFileUploadRemoving="OnFileUploadRemoving"
PostbackTriggers="uploadbutton"
DropZones=".DropZone1"
HideFileInput="true" />
<asp:Button CssClass="btn btn-primary" runat="server" ID="uploadbutton" Text="Upload" />
I tried binding click event to the button for disabling the button on the client side but then the server side method does not fire.
Is there a way to disable the button or fire both client side and server side events?