July 2013
Intermediate to advanced
1228 pages
34h 1m
English
CHAPTER 30
![]()
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. ...