Chapter 4. Input forms
Whatever you can do or dream, begin it.
Classic ASP.NET bases its programming model on the assumption that state is maintained across postbacks. This is not true at all at the HTTP-protocol level, but it is brilliantly simulated by using the page view-state feature and a bit of work in the Web Forms page life cycle. The view state, which is so often kicked around as a bad thing, is a great contribution to establishing a stateful programming model in ASP.NET, and that programming model was one of the keys to ASP.NET’s success and rapid adoption. Data entry is a scenario in which server controls really shine and in which their postback and view-state overhead save you from doing a lot of work. Server controls ...