I have the following problem when I’m browsing with IE 9 and Opera: I have a hidden aps fileupload dialog, which I trigger when the user clicks on an asp button.
<asp:LinkButton ID="btnBrowse" class="button fright marl10" OnClientClick="return openFileDialog()" runat="server" CausesValidation="false"></asp:LinkButton>
And here is the Jquery:
function openFileDialog() {
$('#uploadPhotoDialog').click();
return false;
}
uploadPhotoDialog is the ID of the aps fileupload control.
I’ll appreciate any answers.
Thanks in advance.
With the fileupload, specifically, there are security and sandboxing issues. I know that there are some things the fileupload will not respond to, such as programmatic clicking, to prevent auto-uploaders and such security shenanigans.