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.
正确答案:B
答案解析:有
微信扫一扫手机做题