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

单项选择题

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

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

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