




Improve performance with the EnableViewState property
All Web Forms controls, and the page itself, expose the EnableViewState property, a boolean that says whether the current value of the control must be saved in the __VIEWSTATE hidden
All Web Forms controls, and the page itself, expose the EnableViewState property, a boolean that says whether the current value of the control must be saved in the __VIEWSTATE hidden
A few Web Forms control expose the AutoPostBack property, which makes it possible to start a postback when the user clicks on these controls or changes their contents. By default
In classic ASP, the only way to preserve information – for example, the value of a variable- – between consecutive client requests is by means of Session variables, cookies, or
During a page postback, the page is redrawn by default and users see a short but annoying flickering. Worse, the scroll position isn’t preserved during postbacks (the page scrolls to