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