单项选择题

Certkiller.com has employed you as a Web Application Developer. The previous administratorcreated a Microsoft ASP.NET Web application using Microsoft .NET Framework v3.5. 
You decide to add an AJAX enabled Web form to this application. The application is configured torun on a server named CERTKILLER-SR01. (The line numbers is included for referencepurposes)
01 <asp:ScriptManager ID="scrMgr" runat="server" />
02 <asp:UpdatePanel ID="updPanel" runat="server"
03 UpdateMode="Conditional">
04 <ContentTemplate>
05 <asp:Label ID="KinglblTime" runat="server" />
06 <asp:UpdatePanel ID="updInnerPanel"
07 runat="server" UpdateMode="Conditional">
08 <ContentTemplate>
09 <asp:Timer ID="tmrTimer" runat="server"
10 Interval="1000"
11 OnTick="tmrTimer_Tick" />
12 </ContentTemplate>
13
14 </asp:UpdatePanel>
15 </ContentTemplate>
16
17 </asp:UpdatePanel> 
In the application the tmrTimer_Tick event handler is used to set the Text property of the
KinglblTime Label control to the present time of CERTKILLER-SR01. You receive an instructionfrom management to make sure that the lblTime Label control is updated properly by the tmrTimerTimer control. You thus need to determine the appropriate UpdatePanel control that has to beconfigured. 
What should you do?()

A.A
B.B
C.C
D.D

热门 试题

多项选择题
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.