Click here to Skip to main content
15,308,835 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am using VS 2010.In my page i use script manager and update panel.I place Fileupload tool in that ,but when filename not read when i run the project.How can i read fileupload filename with using update panel.

It is well documented that the FileUpload control is not compatible with UpdatePanel.
You can create new form for file upload. input tag is there in html for browse the files. You need to do some code with the upload option.

<input id="FindFile" style="Z-INDEX: 101; left: 5%; width: 95%; top:10%; height: 22px" type="file" size="26" runat="server" name="FindFile" />

Check this[^].
Also if you make a simple google[^] search you will find solution how to make it work inside update panel...
Solution is to add PostBackTrigger to your update panel...

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900