试题详情
单项选择题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
  • 关注下方微信公众号,在线模考后查看

热门试题