In this
article I am going to tell how we can resolve the issue while working with
Ajax
update panel and fileupload control.
Description:
I have got an
issue when working with Update panel control. I am using fileupload
control inside updatepanel. When try to upload the file, posted filename is null.
control inside updatepanel. When try to upload the file, posted filename is null.
Solution:
To
resolve the issue set postback trigger for update panel. Set the control id or
save/insert record button as shown below:
<asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Conditional" >
<ContentTemplate>
</ContentTemplate>
<Triggers>
<asp:PostBackTrigger ControlID="btnsave"/>
</Triggers>
</asp:UpdatePanel>
0 Comments