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

多项选择题

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?()

    A.You should consider replacing AsyncPostBackTrigger with PostBackTrigger.
    B.You should consider setting the UpdateMode property of updatePanel2 to Conditional.
    C.You should consider setting the ChildrenAsTriggers property of updatePanel1 to false.
    D.You should consider setting the ChildrenAsTriggers property of updatePanel2 to false.
    E.You should consider setting the UpdateMode property of updatePanel1 to Conditional.
    F.You should consider setting the UpdateMode property of updatePanel2 to Always.

点击查看答案

相关考题

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

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