Click here to Skip to main content
15,890,527 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have a FileUpload Control and two Buttons. One is Submit button and another is Upload.
When after browsing file I am clicking Upload button its working fine. But when I browse a file and Click Submit button before clicking Upload button, there is a postback, all browsed files are lost.
There is nothing written in page load event and submit button's click event.
How can I prevent this postback.
Posted
Comments
Prasad_Kulkarni 21-Dec-12 4:14am    
Yogender Sharma 21-Dec-12 4:21am    
I want to do this without using update panel. Problem is solved when I am using Session. Is there any validation I can Put on the submit button or File Upload Control

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