You work as a Web Application Developer for ABC Inc. The company uses Visual Studio .NET as its application development platform. You create a Web application using .NET Framework 2.0. You add a Web Form that contains a button named bCancel. The button allows users to exit the form. When users click the button, validation should not occur. However, during testing you find that clicking the button does not allow users to exit the form. You need to ensure that users can always exit the page.
What will you do?
A . Set the CausesValidation property of the bCancel button to false.
B . Set the AccessibleName property of the validation controls on the Web Form to "false".
C . Set the ControlToValidate property of the validation controls on the Web Form to the ID of the control.
D . Set the Enabled property of the validation controls on the Web Form to false.
Answer: A
Leave a Reply