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

A.AB.BC.CD.DYou work as a Web Developer at Certkiller.c……

You work as a Web Developer at Certkiller.com. You are in the process of creating a mobile Webapplication. You use Microsoft ASP.NET 3.5 to create the Web application. 
In an assembly named MobileUser the following code exists: 
namespace Certkiller.MobileUser { 
public class Capabilities { 
public static bool IsEnhancedDevice(MobileCapabilities capabilities, string optional) { 
return (capabilities["AJAX"] == Boolean.TrueString && 
capabilities["Silverlight"] == Boolean.TrueString); 
} 
} 
} 
The following code is contained on a page in the Web application: 
MobileCapabilities capabilities = (MobileCapabilities)Request.Browser; 
bool isEnhancedDevice = capabilities.HasCapability("SilverlightAndAjax", null) 
You have to make sure that the code calls the IsEnhancedDevice method of the Capabilities class.You configure the Web.config file to accomplish this.
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')