相关考题

单项选择题 You work as a Web Application Developer at Certkiller.com. You make use of .NET Frameworkv3.5 to create an ASP.NET application.  You decide to create a Web user control named KingShare. KingShare is compiled as a library.The code segment below is written for KingShare. (The line numbers is included for reference purposes) 1 protected override void OnInit(EventArgs e) 2 { 3 base.OnInit(e); 4 5 }  The master pages in the application contains the <%@ Master Language="C#" EnableViewState="false" %> directive. You receive an instruction from the network administratorto make sure that the KingShare state is able to persist on the pages that reference the masterpage. You should thus identify the appropriate code segment you need to add to line 4 to achievethis.  What should you do?()

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

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