You are creating a custom user c

题目

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? ()

  • A、Add the OnClick event handler for the Login button to the code used in the custom user control.
  • B、Add the OnClick event handler for the Login button to the code used in the Web Form where the control is added.
  • C、In the Page_Load method of the Web Form, add a code segment to set the visibility of the TextBox and Button controls where the control is added.
  • D、In the Page_Load method of the custom user control, add a code segment to set the visibility of the TextBox and Button controls.
如果没有搜索结果或未解决您的问题,请直接 联系老师 获取答案。
相似问题和答案

第1题:

Your network contains an Active Directory forest. The forest schema contains a custom attribute  for user objects.     You need to give the human resources department a file that contains the last logon time and the  custom attribute values for each user in the forest.     Which should you use()

  • A、the Dsquery tool
  • B、the Export-CSV cmdlet
  • C、the Get-ADUser cmdlet
  • D、the Net.exe user command

正确答案:C

第2题:

You are the administrator of your company’s network. You configure a local group named accounting to have a mandatory user profile. The mandatory profile has been configured to include a custom logo that was saved with 16-bit color and 1025x768 resolution. Some of the Windows 2000 Professional computers in the accounting department have standard VGA video adapters, and others have SVGA video adapters. Several users report that when they log on to certain Windows 2000 Professional computers, the custom bitmap becomes very pixilated and distorted, and does not reflect the proper color depth. You want users to be able to correctly view the custom bitmap on any computer in the accounting department. In addition to this, you also want to allow the users to modify, change and save their desktop settings. What should you do?()

  • A、Configure a roaming user profile for each user in the accounting group
  • B、Configure a separate user profile for each user in the accounting Group. 
  • C、Change the custom bitmap to a 16-color bitmap that has 640x480 resolution, and reconfigure the mandatory user profile 
  • D、Reinstall the appropriate WDM-compliant drivers for the computers that do not display the custom bitmap correctly. 

正确答案:A

第3题:

You install a custom application on a computer that runs Microsoft Windows XP. The application stores each user’s data in the %programfiles%\app1\data folder on the computer. You install the custom application on a computer that runs Windows Vista.On the Windows Vista computer, you back up the %programfiles%\app1\data folder and notice that the backup contains no data.You need to back up the application’s user data on the Windows Vista computer.What should you do?()

A.A

B.B

C.C

D.D


参考答案:D

第4题:

Your network consists of a single Active Directory domain. The functional level of the domain is Windows Server 2003. You extend the Active Directory Schema to support a custom user attribute. You need to assign the same value to the custom attribute for 1,500 users. You must achieve this goal by using the minimum amount of administrative effort. Which tool should you use? ()

  • A、Adsiedit.msc
  • B、Csvde.exe
  • C、Dsmod.exe
  • D、Ldifde.exe

正确答案:D

第5题:

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?()

  • A、Create a new custom class for the control that is derived from the Control class.
  • B、Create a new custom class for the control that is derived from the UserControl class.
  • C、Create a new custom class for the control that is derived from the ContentControl class.
  • D、Create a new custom class for the control that is derived from the ContentPresenter class.

正确答案:B

第6题:

You are employed as the exchange administrator at Company.com.the Company.com network contains an exchange 2010 organization.you are responsible for managing an exchange server 2010 mailbox server named -ex01.You are in the process of implementing a policy that deletes e-mail messages automatically after 60 days.You receive an instruction from management to identify another location where users can store their messages after 60 days.However, administrators need to locate the e-mail messages in both locations when executing multi- mailbox searches. What should you do?()

  • A、You should consider creating a Retention Policy.
  • B、You should consider creating a.pst file for each user that is stored in a shared folder.
  • C、You should consider creating a Personal Archive for each user.
  • D、You should consider creating a journal rule.

正确答案:C

第7题:

You work as an application developer at Certkiller .com. You are in the process of creating an application for Certkiller .com’s Human Resources department that tracks employee benefits. You have to store current employee data without recompiling the application. You elect to store this employee data as a custom section in the application configuration file. The relevant portion of the application configuration file is shown in the following exhibit: <?xml version="1.0" encoding="utf-8" ?>   You want to use the .NET 2.0 Configuration API to access the custom section. You need to ensure that programmatic access of the EmployeeSection element is enabled. What should you do?()

  • A、 Create a custom section handler class that inherits the ConfigurationSection interface.
  • B、 Add a section element to the EmployeeSection element of the application configuration file.
  • C、 Create a custom section handler class that implements the IConfigurationSectionHandler interface.
  • D、 Add an EmployeeSection element to the configSections element of the application configuration file.
  • E、 Create a custom section handler class that implements the IApplicatioSettingsProvider interface.
  • F、 Add a section element to the configSections element of the application configuration file.

正确答案:A,F

第8题:

You have a computer that runs Microsoft Windows XP. The computer has a custom application installed.You plan to upgrade the Windows XP computer to Windows Vista.You need to identify whether User Account Control (UAC) will allow the custom application to run without requiring elevated privileges.What should you do?()

A.A

B.B

C.C

D.D


参考答案:D

第9题:

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?()

  • A、Override the OnPaint method.
  • B、Write a code segment in the DrawNode event handler to specify the highlight color.
  • C、Set the DrawMode property of the control to OwnerDrawAll, and then implement a custom DrawNode event handler.
  • D、Set the DrawMode property of the control to OwnerDrawText,and then implement a custom DrawNode event handler.

正确答案:D

第10题:

You are the administrator of your company’s network. You configure a local group named accounting to have a mandatory user profile. The mandatory profile has been configured to include a custom logo that was saved with 16-bit color and 1025x768 resolution. Some of the Windows 2000 Professional computers in the accounting department have standard VGA video adapters, and others have SVGA video adapters. Several users report that when they log on to certain Windows 2000 Professional computers, the custom bitmap becomes very pixilated and distorted, and does not reflect the proper color depth. You want users to be able to correctly view the custom bitmap on any computer in the accounting department. What should you do? ()

  • A、Configure a roaming user profile for each user in the accounting group
  • B、Configure a separate user profile for each user in the accounting Group
  • C、Change the custom bitmap to a 16-color bitmap that has 640x480 resolution, and reconfigure  the mandatory user profile
  • D、Reinstall the appropriate WDM-compliant drivers for the computers that do not display the  custom bitmap correctly.

正确答案:C

更多相关问题