I am new to web development and keep running into a problem. All of my resources are saying to save a variable in ViewState in the Page_PreRender and then load the variables in Page_Load. The issue is that this seems backwards since Load occurs before PreRender. Basically, when I click a button I save a variable to ViewState in the page PreRender and then load it in the Page Load. Am I missing something because I am always one value behind. In other words I need to click the button twice before I actually get the value I want.
View Complete Post