单项选择题 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?()
单项选择题 Certkiller.com has hired you as a system administrator for their network. The Certkiller.comnetwork consists of a Microsoft ASP.NET Framework v1.0 application. The current application is configured to run Microsoft IIS 6.0. The current application is not usingany of the features that are deprecated in Microsoft .NET Framework v3.5. You receive an instruction from management to configure the application to use ASP.NET Framework v3.5. Youneed to achieve this without recompiling the application. What should you do?()
单项选择题 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?()