Hello,
I am uploading file using Fileupload control in ASP.Net. Instead of direct use of fileupload, Popup opens using JS and it fill the name to control but when I going to upload this using any Postback then either fileupload control lost file or Access Denied error is Alerted. Here is my code :
function openWin(msg) {
$("#fu").click();
}
<input type="button" value="Print" onclick="openWin()" />
<asp:FileUpload ID="fu" runat="server" onchange="openWin(this.value);" ClientIDMode="Static"/>
<asp:Button ID="test" runat="server" Text="Send" />
It is working in Firefox, Chrome but not working for IE. is that any other way to make it work in IE ?
Please Suggest.....
Thanks