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 ...

Get Programming Microsoft® ASP.NET 3.5 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.