找考题网-背景图
单项选择题

You are employed as the senior administrator at Certkil……

You are employed as the senior administrator at Certkiller.com. You make use of Microsoft .NETFramework v3.5 to create a Microsoft ASP.NET application. 
You make use of ASP.NET AJAX create a Web form. The code fragment below exists in the Webfrom. (The line numbers is included for reference purposes)
01 <script type="text/javascript">
02
03 Sys.Application.add_init(initComponents);
04
05 function initComponents() {0607 }
08
09 </script>
10
11 <asp:ScriptManager ID="ScriptManager1"
12 runat="server" />
13 <asp:TextBox runat="server" ID="CKTextBoxA" /> 
You make use of the initComponents function to create and start a user behavior. This userbehavior is named CKBehavior. You have to make sure that CKBehavior is attached to
CKTextBoxA. You should determine the appropriate code segment you need to add in line 6 toaccomplish this. 
What should you identify?()



A.Your best option would be to insert Sys.Component.create(CKBehavior, $get('CKTextBoxA'),null, null, null)
B.Your best option would be to insert Sys.Component.create(CKBehavior, 'CKTextBoxA', null,null, null)
C.Your best option would be to insert $create(CKBehavior, null, null, null, $get('CKTextBoxA'))
D.Your best option would be to insert $create(CKBehavior, null, null, null, 'CKTextBoxA')

热门试题

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

多项选择题You work as a Web Developer at Certkiller.com. You are in the process of creating a Webapplication using Microsoft ASP.NET 3.5.  You host the Web application in Microsoft Internet Information Services (IIS) 6.0. You browse theapplication and receive the following error message:  Server Application Unavailable  The web application you are attempting to access on this web server is currently unavailable.Please hit the  Refresh  button in your web browser to retry your request.  You view the Application event log and discover the following message:  It is not possible to run two different versions of ASP.NET in the same IIS process. Please use theIIS Administration Tool to reconfigure your server to run the application in a separate process.  To ensure productivity you need to solve this problem as quick as possible.  What should you do?()

A.You should change the IIS isolation mode.
B.You should assign the application to another application pool.
C.You should configure all applications that are part of your application's application pool in orderto use the same version of ASP.NET.
D.You should run the Aspnet_regiis.exe Tool.
E.You should restart the application pool that hosts the application.