欢迎来到易学考试网 易学考试官网
全部科目 > 微软认证考试 > MCTS > MCTS(70-528)

单项选择题

You create a Web Form for the acceptance of donations. Users type donation amounts by using a TextBox control named txtAmount. The donation amount must be between 10 dollars and 10,000 dollars. You add the following RequiredFieldValidator and RangeValidator. During testing you learn that when users fail to enter values before submitting the Web Form to the server, the message "Please enter a value" appears, as shown below. You need to ensure that the message appears immediately following the txtAmount TextBox control without extra spaces. What should you do? ()

    A. In the RangeValidator, set the Display property to Dynamic.
    B. In the RangeValidator, set the Display property to Static.
    C. In the RequiredFieldValidator, set the Display property to Dynamic.
    D. In the RequiredFieldValidator, set the Display property to Static.

点击查看答案&解析

相关考题

微信小程序免费搜题
微信扫一扫,加关注免费搜题

微信扫一扫,加关注免费搜题