Click here to Skip to main content
15,914,162 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
File upload path gets errased during postbacks. Please tell me how to solve this?
Posted
Updated 11-Feb-11 22:29pm
v2
Comments
Sandeep Mewara 12-Feb-11 4:30am    
Thats not the general behaviour. Share the relevant code to look at.
Monjurul Habib 12-Feb-11 10:34am    
Please provide your code to help you out.

Put the path into a session variable.
 
Share this answer
 
Comments
Monjurul Habib 12-Feb-11 10:36am    
this is quick solution.. but is this wise??
Praveen Kumar Upadhyay 14-Feb-11 8:01am    
ya you can use this method as John said
Sir, I think you are using some asynchronous technique like update panels in this case you should add an asynchronous postback trigger to the update panel with your postback event.
 
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