By assembling existing controls
By combining multipleXPages together
By creating a brand new widget from scratch
By writing the code for a brand new control
第1题:
A customer has purchased a new Junos Pulse Access Control Service and wants to install it in an existing cluster.After initial configuration, the customer finds that the firmware version running on the Junos Pulse Access Control Service is 4.1 r5, but the existing cluster is running firmware version 4.1 r3. Which two actions must be performed to allow the new Junos Pulse Access Control Service to load the older version of firmware?()
第2题:
You are creating a Windows Forms application by using the .NET Framework 3.5. You plan to develop a new control for the application.You need to ensure that the control extends the TreeView control by adding a custom node tag and a highlight color.What should you do?()
第3题:
You create a server control that inherits from WebControl. You need to enable the server control to emit markup for a new kind of mobile device. You must not alter the code in the server controls. Which two actions should you perform?()
第4题:
You are creating a Windows Forms application by using the .NET Framework 3.5. You plan to develop a new control for the application.The control will have the same properties as a TextBox control.You need to ensure that the control has a transparent background when it is painted on form.You want to achieve this goal by using the minimum amount of development effort.What should you do?()
第5题:
Which of the following is NOT one of the three details you need to fill in on the New Custom Control dialog?()
第6题:
Add the following code segment to the Page_Load method of the page code-behind file. Dim custom As Custom = Me.Parent lblRegion.Text = custom.Region
Add the following code segment to the Page_Load method of the page code-behind file. Dim custom As Custom = Me.Master lblRegion.Text = custom.Region
Add the following code segment to the Page_Load method of the Custom.Master.vb code-behind file. Dim lblRegion As Label = Page.FindControl(lblRegion) lblRegion.Text = Me.Region
Add the following code segment to the Page_Load method of the Custom.Master.vb code-behind file. Dim lblRegion As Label = Master.FindControl(lblRegion) lblRegion.Text = Me.Region
第7题:
Override the OnPaint method.
Write a code segment in the DrawNode event handler to specify the highlight color.
Set the DrawMode property of the control to OwnerDrawAll, and then implement a custom DrawNode event handler.
Set the DrawMode property of the control to OwnerDrawText,and then implement a custom DrawNode event handler.
第8题:
Override the OnPaint method.
Write a code segment to handle the CellPainting event.
Write a code segment to handle the CellParsing event.
Write a code segment to handle the RowPostPaint event.
第9题:
Create a control that derives from System.Web.UI.Control.
Create a control that derives from System.Web.UI.WebControls.CompositeControl.
Create a control that derives from System.Web.UI.WebControls.WebControl.
Create a control that derives from System.Web.UI.UserControl.
第10题:
You are creating a Windows Forms Application by using the .NET Framework 3.5.You plan to design a new control that will be used on multiple forms in the app.You need to ensure that the control meets the following requirement (1)It retrieves data from a MSSQL Server 2008 database instance. (2)It uses WPF classes to display data. (3)It uses user-customizable actions when the control is first painted on the form. What should you do?()
第11题:
You are creating an ASP.NET Web site. The site has a master page named Custom.master. The code-behind file for Custom.master contains the following code segment.Partial Public Class Custom Inherits System.Web.UI.MasterPagePublic Property Region As String Protected Sub Page_Load(ByVal sender As Object,ByVal e As System.EventArgs) Handles Me.LoadEnd SubEnd Class You create a new ASP.NET page and specify Custom.master as its master page.You add a Label control named lblRegion to the new page. You need to display the value of the master pages Region property in lblRegion.What should you do? ()
第12题:
You are creating a custom user control. The custom user control will be used on 10 Web Forms for an ASP.NET Web site that allows users to register and log on to a personalized experience. The custom user control uses two TextBox controls and two Button controls. You need to ensure that the controls are visible only when users are not logged on to the Web site. You also need to minimize the amount of effort in development and maintenance for the Web site. Which two actions should you perform? ()
第13题:
You create a server control that inherits from WebControl. You need to enable the server control to emit markup for a new kind of mobile device. You must not alter the code in the server controls.()
第14题:
Create a new class that is derived from the Control class.Call the SetStyle method in the constructor.
Create a new class that is derived from theTextBox control class.Override the OnPaint method in the constructor.
Create a new class that is derived from the Control class.Set the BackColor property of the control to Transparent.Call the SetStyle method in the constructor.
Create a new class that is derived from theTextBox control class.Set the BackColor property of the control to Transparent in the constructor.Call the SetStyle method in the constructor.
第15题:
By assembling existing controls
By combining multipleXPages together
By creating a brand new widget from scratch
By writing the code for a brand new control
第16题:
Name of the custom control
Comments to describe the custom control
List of the controls that will make up this custom control
Application that will contain the custom control
第17题:
Add the new nodes to the existing cluster, and perform a rolling migration and remove the original nodesfrom the cluster
Add the new nodes to the existing cluster, and perform a non-disruptive upgrade and remove the originalnodes from the cluster.
Create a snapshot of the existing cluster and apply the snapshot to the new cluster. Start cluster serviceson the new cluster and stop the original cluster
Create a snapshot of the existing cluster and apply the snapshot to the new cluster. Stop cluster serviceson the original cluster and start on the new cluster
第18题:
Create a new custom class for the control that is derived from the Control class.
Create a new custom class for the control that is derived from the UserControl class.
Create a new custom class for the control that is derived from the ContentControl class.
Create a new custom class for the control that is derived from the ContentPresenter class.