单项选择题
Certkiller.com has employed you as a Web Application Developer. You are in the process ofcreating a ASP.NET application using .NET Framework v3.5. The newly created applicationincludes a mobile Web page.
The mobile Web page contains the following StyleSheet control:
<mobile:StyleSheet id="MyStyleSheet" runat="server">
<mobile:Style Name="StyleA" Font-Name="Times New Roman" Font-Bold="True"Wrapping="NoWrap">
</mobile:Style>
</mobile:StyleSheet>
You receive an instruction from management to add a Label control named TestLabel that willmakes use of a defines style in the MyStyleSheet StyleSheet control. You should thus determinethe appropriate markup that needs to be used.
What should you do?()
A.A
B.B
C.C
D.D
相关考题
-
单项选择题
You work as a Web Developer at Certkiller.com. You are in the process of creating a Webapplication using Microsoft ASP.NET 3.5. You create a folder named Dark in the App_Themes folder of the Web application. You also addfour skin files to this folder. You have to make sure that the controls on a page have their appearances overridden by the control definitions defined in the skin files. What should you do? Which Page directive should you use?()
A.You should use the page directive: <%@ Page StyleSheetTheme="App_Themes.Dark"/>
B.You should use the page directive: <%@ Page Theme="App_Themes.Dark"/>
C.You should use the page directive: <%@ Page Theme="Dark"/>
D.You should use the page directive: <%@ Page StyleSheetTheme="Dark"/> -
单项选择题
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 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
