<telerik:RadAsyncUpload runat="server" EnableInlineProgress="false" ID="AsyncUpload1" OnClientFileUploaded="OnClientFilesUploaded" UploadedFilesRendering="BelowFileInput" MultipleFileSelection="Automatic" PostbackTriggers="btnShowUploadResult" OnFileUploaded="AsyncUpload1_FileUploaded" /> <asp:Button ID="btnShowUploadResult" runat="server" OnClick="btnShowUploadResult_Click" CausesValidation="false" Text="hidden" Style="display: none" />
function OnClientFilesUploaded(sender) { // document.getElementById("<%= btnShowUploadResult.ClientID %>").click(); }
Try something like, $("<%= btnShowUploadResult.ClientID %>").trigger("click"); Check https://api.jquery.com/trigger/ here for more details.
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)