Page 87 - DCAP312_WEB_TECHNOLOGIES_II
P. 87
Unit 4: Advanced Server Controls
11. A validation control that enables us to check the user’s input based on a pattern defined Notes
by a regular expression:
( a) RangeValidator server control (b) Compare Validation Control
( c) Regular Expression Validator (d) None of these.
12. ..............................compares what is entered into the form field with two values and makes
sure that what was entered by the user is between these two specified values.
( a) RangeValidator server control (b) Compare Validation Control
( c) Regular Expression Validator (d) None of these.
True or False
13. The HTML server controls are basically the original HTML controls but enhanced to enable
server side processing.
( a) True (b) False
14. A Validation Summary control is displayed when the Is Valid property of the page is
false.
( a) True (b) False
15. A database is an organized collection of data in digital form.
( a) True (b) False
4.3 Summary
• The HTML server controls are basically the original HTML controls but enhanced to enable
server side processing.
• ASP .NET Server Controls has higher level of abstraction. An output of an ASP .NET
server control can be the result of many HTML tags that combine together to produce
that control and its events.
• Web Server Controls are group of controls derived directly from the System.Web.
UI.WebControls base class. They are reusable components that can perform function as the
ordinary HTML controls; the real advantage of web controls is that they are programmable.
• The RequiredFieldValidator server control makes sure that the user enters something into
the field that it is associated with in the form. We need to tie the RequiredFieldValidator
to each control that is a required field in the form.
• The CompareValidator server control compares the value entered into the form field to
another field, a database value, or other value that we specify.
4.4 Keywords
ASP.NET: It is a Web application framework developed and marketed by Microsoft to allow
programmers to build dynamic Web sites, Web applications and Web services.
Compare Validator Control: The CompareValidator control compares the value of one control
to another, or to an explicit value in the control’s Value to compare property.
Database: A database is an organized collection of data, today typically in digital form. The
data are typically organized to model relevant aspects of reality.
LOVELY PROFESSIONAL UNIVERSITY 81