views:

245

answers:

2

I have a FileUpload control in a Wizard control. When I click the finish button, I set a breakpoint and I can see the filepath selected in the FileUpload control as expected.

However, when I Ajaxify this same Wizard, the value in the FileUpload control is always null at this breakpoint, as if a file hasn't been selected.

I know there's a limit where a FileUpload control can't keep its value after postback, but I have the breakpoint selected on the postback and would still expect to see the value.

Any ideas?

A: 

You need a full postback to use the FileUpload control, try adding the FileUpload control to the PostBackTrigger section in the UpdatePanel.

This is the same question

Eduardo Campañó
A: 

Plz check this thread, hope will helpful for you http://stackoverflow.com/questions/797190/file-uploading-in-ajax-updatepanel-without-full-postback

Muhammad Akhtar