欢迎来到PP题库网 PP题库官网
logo
全部科目 > 微软认证考试 > MCTS > MCTS(70-528)

单项选择题

你创建了一个名为Template.master的母版页。Template.master包含了如下的ContentPlaceHolder 服务器控件。你创建了10个Web窗体,它们都使用Template.master作为母版页。每个Web窗体有如下的Content控件和母版页的ContentPlaceHolder控件进行对应。现在,你需要配置Web页,使其当Web窗体没有提供content的时候,默认的内容将显示在area2ContentPlaceHolder控件中。你应该怎么做?()

    A. 在Template.master 中,移动默认内容到area2中。从不提供内容的Web窗体中移除area2。
    B. 在Template.master 中,移动默认内容到area2中。在不提供内容的Web窗体中留下空白的 area2 Content声明。
    C. 在Web窗体中,移动默认内容到area2中。在Template.master 中移除area2。
    D. 在Template.master中创建一个名为area2_default 的ContentPlaceHolder 控件。然后,放 默认内容在area2_default中。从不提供内容的Web窗体中移除area2。

点击查看答案

相关考题

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

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