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
Post a Comment