File upload control not working inside Update panel

Posted by Sahoo under ASP.NET on 7/31/2012 | Points: 10 | Views : 26738 | Status : [Member] | Replies : 5
Hi all,

File upload control does not work inside updates panel.How to get round this issue.

Thanks in advance




Responses

Posted by: Ranjeet_8 on: 7/31/2012 [Member] [MVP] Gold | Points: 25

Up
0
Down
we need to use Postback triggers to upload the file.
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">

<ContentTemplate >
// File upload control
</ContentTemplate>
<Triggers>
<asp:PostBackTrigger ControlID="Button1" />
</Triggers>
</asp:UpdatePanel>


Sahoo, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Rajkatie on: 8/2/2012 [Member] [MVP] Gold | Points: 25

Up
0
Down
You can also refer following link
http://www.c-sharpcorner.com/uploadfile/prathore/fileupload-control-in-update-panel-using-Asp-Net-ajax/

Rajesh Patel
R.P.A Developer | Developer Trainer | Clean Code Evangelist

Sahoo, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Gopesh9 on: 8/3/2012 [Member] Starter | Points: 25

Up
0
Down
You can go through this sample.
http://www.codeproject.com/useritems/simpleajaxupload.asp

You look around the forums and google, you can read more about the problem if your interested, but the code project solution should get you started.

G. S.
.Net Developer

Sahoo, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Vforvijay on: 8/3/2012 [Member] Starter | Points: 25

Up
0
Down
hi..
Refer the below link i got same problem but i found the solution below link..
http://www.dotnetcode.in/2012/05/how-to-use-fileupload-control-inside.html

Sahoo, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Ranjeet_8 on: 8/6/2012 [Member] [MVP] Gold | Points: 25

Up
0
Down
Hi.. @Sahoo
Mark As Answer, if post helps you.

Sahoo, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response