CHAPTER 30

image

Forms and Request Validation

HTML form elements are at the heart of most web applications because they provide the means by which the user submits data and changes the application state. Form data can be submitted by an HTML form element or by an Ajax request (which we describe in Part 4). In this chapter, we look at how ASP.NET deals with the form element and how data submitted by the user is validated to ensure that it won’t subvert the application—a process known as request validation . Although we are focused on the standard non-Ajax way of submitting forms, most of the content in this chapter is equally applicable to Ajax requests. ...

Get Pro ASP.NET 4.5 in VB, Fifth Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.