I have RadAsyncUpload control defined as following:
the PostbackTriggers property works fine if I have clicked the button "btnSave", but in some case I need to simulate the button click automatically,
None of the following javascript or JQuery methods solved my problem , they fire the click event but the files collections is always empty
function SaveMeeting() { document.getElementById('ctl00_PageBody_btnSave').onclick(); //$('.btnSave').focus(); //$('.btnSave').click(); //$('.btnSave').trigger('click'); }
<telerik:RadAsyncUpload Font-Size="Medium" ID="RadAsyncUpload1" runat="server" OnClientFilesUploaded="OnClientFilesUploaded" OnClientFileUploaded="onClientFileUploaded" OnClientFileUploading="OnClientFileUploading OnClientFileUploadFailed="OnClientFileUploadFailed" OnClientFileUploadRemoving="onClientFileUploadRemoving OnClientFileUploadRemoved="onClientFileUploadRemoved"MultipleFileSelection="Automatic" PostbackTriggers="btnSave" HttpHandlerUrl="~/UploadDocFileHandler.ashx" Height="16px"></telerik:RadAsyncUpload>
