Online GK Series

This site is dedicated to the aspirants of competitive exams SSC, UPSC, Railways, Postal Assistants, Bank, GATE and NET

ASP.NET MCQs and Answers on Validation Controls

Questions
6 Using CustomValidator server control
A a developer can compell users to fill all the required fields
B a developer can sreate pop up menu
C a developer can write custom validation function as needed
D none of these above

Answer: Option [C]
7 In ASP.NET Client-Side validation is possible with
A HTML
B DHTML
C XHYML
D HTML5

Answer: Option [B]
8 What are the ways to set Display property of validation controls to display error messages in case of client validation?
A Static
B Dynamic
C None
D All of these above

Answer: Option [D]
9 Which type of validation works with exceptions that is thrown if an error occurs when a value is edited or when a new value is inserted into the data model?
A DynamicValidator
B RegularExpressionValidator
C CustomValidator
D RangeValidator

Answer: Option [A]
10 Validation control displays error messages using which of the following methods?
A Inline
B Summary
C In place and summary
D All of these above

Answer: Option [D]

Computer Science Books

Chapters

Please Like Us
Brand