找考题网-背景图
单项选择题

A. Set the Enabled property of the validation controls ……

You create a Web Form that contains a button named btnCancel that enables users to exit the page. When users click this button, validation must not occur. During testing you learn that clicking the Cancel button does not enable users to exit the page. You need to ensure that users can always exit the page.
What should you do?()



A. Set the Enabled property of the validation controls on the Web Form to False.
B. Set the CausesValidation property of the btnCancel button to False.
C. Set the CausesValidation property of the btnCancel button to True.
D. Set the Visible property of the validation controls on the Web Form to False.

热门试题