page variables lost after postback by a button

Posted by Freeman1989 under ASP.NET on 7/12/2009 | Views : 1530 | Status : [Member] | Replies : 1
Hi, I am having a major problem in my asp.net 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.




Responses

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

Up
0
Down
Can i see the code where you do it?

Thank you for posting at Dotnetfunda
[Administrator]

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

Login to post response