Conclusion
In this chapter, we examined three issues you might face when building pages and interacting with them—forms, errors, and user profiles.
Form-based programming is fundamental in Web applications because it's the only way to have users and applications interact. ASP.NET pages can have only one server-side form with a fixed action property. Although you can still change the action property on the fly with a bit of client script code, this often results in a view state corruption error. ASP.NET 2.0 and ASP.NET 3.5 support cross-page posting as a way to let users post data from one page to another.
Often, good programs do bad things and raise errors. In the Web world, handling errors is a task architecturally left to the runtime environment ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access