可学答题网 > 问答 > MCPD(70-562)题库
目录: 标题| 题干| 答案| 搜索| 相关
问题

You work as a Web


You work as a Web Developer at Certkiller.com. You are in the process of creating a Webapplication using Microsoft ASP.NET 3.5.  In order toimplement partial rendering on a page you add the following markup:  <asp:ScriptManager ID="_scriptManager" runat="server"/>  <asp:UpdatePanel ID="updatePanel1" runat="server">  <ContentTemplate>  <asp:Label ID="label1" runat="server"/>  <asp:Button ID="CKupdateButton" runat="server" Text="Update"/>  </ContentTemplate>  </asp:UpdatePanel>  <asp:UpdatePanel ID="updatePanel2" runat="server">  <ContentTemplate>  <asp:Label ID="label2" runat="server"/>  </ContentTemplate>  <Triggers>  <asp:AsyncPostBackTrigger ControlID="CKupdateButton"/>  </Triggers> </asp:UpdatePanel>  You only want the content in the updatePanel2 control to be updated when the Button controlnamed _btnUpd is clicked. You need to configure the page to accomplish this goal of thecompany.  What should you do?()

  • AYou should consider replacing AsyncPostBackTrigger with PostBackTrigger.
  • BYou should consider setting the UpdateMode property of updatePanel2 to Conditional.
  • CYou should consider setting the ChildrenAsTriggers property of updatePanel1 to false.
  • DYou should consider setting the ChildrenAsTriggers property of updatePanel2 to false.
  • EYou should consider setting the UpdateMode property of updatePanel1 to Conditional.
  • FYou should consider setting the UpdateMode property of updatePanel2 to Always.
参考答案
参考解析:
分类:MCPD(70-562)题库