Which of the following control is used to validate that two fields are equal ?
Correct answer: D. CompareValidator
- A. equals() method
- B. RegularExpressionValidator
- C. RequiredFieldValidator
- D. CompareValidator
Explanation
CompareValidator checks one control's value against another, such as confirming that a password and its confirmation match. RequiredFieldValidator only checks that a value is supplied, while RegularExpressionValidator checks a pattern.
Report an error
The more specific you are, the faster it gets fixed. A source beats an opinion.
Prefer email? [email protected]
Practise Web and Mobile Development
268 free Web and Mobile Development MCQs from Software Engineering, each with the correct answer and an explanation. Unlimited attempts, no account needed.
Discussion
Stuck on an option, or know a faster way to get there? Ask or explain it here.
No comments yet. Be the first to explain this one.
Exams that ask Software Engineering questions like this
Software Engineering is on this paper prepared for on TestUstad, and all of them draw the same bank, so this question is worth knowing for it.
More Web and Mobile Development questions
Which of the following represents the best use of the Table, TableRow, and Table-Cell controls ?
The __________________ property affects how the .Net Framework handles dates, currencies, sorting and formatting issues?
By default, ASP.NET store SessionIDs in ___________________?
Why is Global.asax is used ?
How do we create a FileSystemObject ?
On which of the operating system below ASP.NET can run ?