Hi Carsten,
Thank you for contacting Syncfusion support.
In order to open the Browse-Dialog from the UploadBox from another button, kindly refer to the following code snippet.
<ej:UploadBox ID="Upload1" SaveUrl="saveFiles.ashx" RemoveUrl="removeFiles.ashx" runat="server"></ej:UploadBox>
<input type="button" id="sampleBtn" value="click to open upload dialog" />
<script>
$("#sampleBtn").on("click", function () {
$("input[type='file'][name='<%=Upload1.ClientID%>']").trigger("click");
});
</script>
|
Regards,
Prince