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

A.AB.BC.CD.DYou use Microsoft .NET Framework v3.5 to cr……

You use Microsoft .NET Framework v3.5 to create a Microsoft ASP.NET application forCertkiller.com. 
The code segment below is written to create a client-script function. (The line numbers is includedfor reference purposes)
1 function updateLabelControl(labelId, newText) {
2 var label = $find(labelId);
3 label.innerHTML = newText;
4 } 
This newly created script will make use of ASP.NET AJAX. The script will also update the text ofall the Label controls in the web form. It has come to your attention that the Label controls are notupdated when the client script function is tested. However, you receive the"’null’ is null or not anobject" JavaScript error message in the browser. 
What should you do?()



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

热门试题

单项选择题You are employed as the system administrator at Certkiller.com. You make use of MicrosoftASP.NET 3.5 in order to create a Web application. You are in the process of creating a customserver control named Test Circle. Test Circle exists in the Certkiller.WebControls namespace.  TestCircle contains a single read-write property named Radius of type Double. You decide to implement the control as an Asynchronous JavaScript as well as an XML (AJAX) extender controlthat will permit the Radius property to be set in client script. You then implement the following codein an associated JavaScript file (The line numbers are included for reference purposes):  01 Type.registerNamespace( Certkiller.WebControls );  02 Certkiller.WebControls.TestCircle = function(elem)  03 {  04 Certkiller.WebControls.TestCircle.initializeBase(this, elem);  05 this._radius = 0; 06 }  07 Certkiller.WebControls.TestCircle.prototype =  08 {  09 initialize : function()  10 {  11 Certkiller.WebControls.callBaseMethod(this, initialize);  12 },  13 dispose : function()  14 {  15 Certkiller.WebControls.callBaseMethod(this, dispose);  16 }, 17  18 }  19 Certkiller.WebControls.TestCircle.registerClass(Certkiller.WebControls.TestCircle,  20 Sys.UI.Control);  You need to identify the Radius property in the JavaScript file. You therefore need to determinethe code segment that should be inserted at line 17.  What should you do?()

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

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