File upload is not working with AsyncPostBackTrigger in ASP.Net -


i have 1 html file upload control upload profile picture , i'm using update panel , asyncpostbacktrigger trigger. if use postbacktrigger uploading of profile image works if use asyncpostbacktrigger uploading doesn't work.

below code inline:

<asp:updatepanel id="pnlzerkerbasicprofile" runat="server"> <input type="file" id="myfile" name="myfile" class="file_input_hidden" onchange="javascript:fileuploadsubmit();" style="cursor: pointer;" /> <triggers>         <asp:asyncpostbacktrigger controlid="btnsaveprofilepicture" /> </triggers> </asp:updatepanel> 

can help?

this known issue, full postback required fileupload control work within updatepanel i.e. can't use asyncpostbacktrigger.

edit: saw duplicate of fileupload doesn't work when nested in updatepanel? c#


Comments

Popular posts from this blog

image - ClassNotFoundException when add a prebuilt apk into system.img in android -

I need to import mysql 5.1 to 5.5? -

Java, Hibernate, MySQL - store UTC date-time -