page variables lost after postback by a button

Posted by Freeman1989 under ASP.NET on 7/12/2009 | Views : 1636 | Status : [Member] | Replies : 1
Hi, I am having a major problem in my webpage

I have a page that stores a certain path in a page variable , and when user clicks on the upload button, the FileUplaod control is suppose to save the file to that path

However, whenever the user clicks on the Upload button, the page reloads, and all variables are resetted.


Posted by: Vuyiswamb on: 7/13/2009 [Member] [MVP] [Administrator] NotApplicable

Can i see the code where you do it?

Thank you for posting at Dotnetfunda

Freeman1989, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response