| There are number of ASP.NET controls some of | | | | allow us to test a user input. We can simply |
| these are explain bellow. | | | | attach a validation control to an input |
| | | | control and test what the user input in the |
| • HTML server controls:- HTML elements | | | | input control. Validation controls are |
| helps server so we can use for us in | | | | provided to allow you to check for a required |
| programming . HTML server controls expose an | | | | field, to test against a specific value or |
| object model that maps very closely to the | | | | pattern of characters, to verify that a value |
| HTML elements that they render for so we can | | | | lies within a range, or we can also compare |
| get HTML server control in programming. | | | | and also take a validation summary. |
| | | | |
| • Web server controls:- These Controls | | | | • User Controls: - These controls are |
| are more features than HTML server controls | | | | helpful where we have to use that particular |
| because as name suggest these are on web so | | | | control at many places. We can include Web |
| helps lots. Web server controls not contains | | | | Forms user controls in other Web Forms pages |
| only form-type controls suchas buttons and | | | | that help in creating menus, toolbars, and |
| text boxes, but also contains some | | | | other reusable elements. |
| special-purpose controls such as a calendar. | | | | |
| Web server controls are more abstract than | | | | •Other controls:- These control are |
| HTML server controls in that their object | | | | likes for mobile devices. For creating the |
| model does not necessarily reflect HTML | | | | mobile application we use same framework |
| syntax. | | | | which we use for web application, but we |
| | | | create Mobile Web Forms instead of Web |
| • Validation Controls:- These collect | | | | Formspages and use controls specifically |
| logic or we can say conditional controls that | | | | designed for mobile devices. |