Click here to Skip to main content
15,894,405 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,
I am developing a web application in asp.net and c#. I'm using an asp wizard control. there is 6 wizard steps in my wizard. In each phase im using many controls, so that many postback is done during execution.

I am using a asp fileupload control in second wizard step. My problem is that the value selected using fileupload control is not getting when i click wizard finsh button in the final step. values acquired using all other controls are available there.
Hope someone help me.
I just want to get the selected filename in last step.
Thanks in advance
Posted

1 solution

When you are using FileUpload Control, Which becomes null on every postbacks.

So the solution will be to save the Fileupload control value inside one of the hidden field.

Please vote and Accept Answer if it Helped.
 
Share this answer
 

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



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