Question:You create a Microsoft ASP.NET application by using the Microsoft .NET Framework version 3.5. You write the following code fragment: 01 <asp:UpdatePanel ID="upnData" runat="server" 02 ChildrenAsTriggers="false" UpdateMode="Conditional"> 03 <Triggers> 04 05 </Triggers> 06 <ContentTemplate> 07 <!-- more content here --> 08 <asp:LinkButton ID="lbkLoad" runat="server" Text="Load" 09 onclick="lbkLoad_Click" /> 10 <asp:Button ID="btnSubmit" runat="server" Text="Submit" 11 Width="150px" onclick="btnSubmit_Click" /> 12 </ContentTemplate> 13 </asp:UpdatePanel> 14 <asp:Button ID="btnUpdate" runat="server" Text="Update" 15 Width="150px" onclick="btnUpdate_Click" /> You need to ensure that the requirements shown in the following table are met: What should you do? 

A Set the value of the ChildrenAsTriggers property in line 02 to false. Add the following code fragment at line 04: <asp:AsyncPostBackTrigger ControlID="btnUpdate" /> <asp:PostBackTrigger ControlID="btnSubmit" /> 

B Set the value of the ChildrenAsTriggers property in line 02 to false. Add the following code fragment at line 04: <asp:AsyncPostBackTrigger ControlID="btnSubmit" /> <asp:PostBackTrigger ControlID="btnUpdate" /> 

C Set the value of the ChildrenAsTriggers property in line 02 to true. Add the following code fragment at line 04: <asp:AsyncPostBackTrigger ControlID="btnSubmit" /> <asp:PostBackTrigger ControlID="btnUpdate" /> 

D Set the value of the ChildrenAsTriggers property in line 02 to true. Add the following code fragment at line 04: <asp:AsyncPostBackTrigger ControlID="btnUpdate" /> <asp:PostBackTrigger ControlID="btnSubmit" /> 

+ Answer
+ Report
Total Preview: 2190

Copyright © 2024. Powered by Intellect Software Ltd