You are creating a custom user control. The custom user cont

题目
多选题
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题:

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

第2题:

A user logs in and is mapped to two roles. The first role has a maximum timeout value of 600 minutes and the default Juniper Networks logo on the user interface page. The second role has a maximum timeout value of 1200 minutes and a custom logo on the user interface page. Based on the merging of these two roles, which two will be applied?()

  • A、A custom logo on the user interface page
  • B、A maximum timeout value of 600 minutes
  • C、A maximum time out value of 1200 minutes
  • D、A default Juniper Networks logo on the user interface page

正确答案:C,D

第3题:

You are the administrator responsible for security and user desktop settings on your network. You need to configure a custom registry entry for all users. You want to add the custom registry entry into a Group Policy object (GPO) with the least amount of administrative effort.

What should you do?

A.Configure an ADM template and add the template to the GPO.

B.Configure an INF policy and add the policy to the GPO.

C.Configure a Microsoft Windows installer package and add the package to the GPO.

D.Configure RIS to include the registry entry.


正确答案:A
解析:Explanation: It is recommended that we should use the supplied Administrative Templates where possible. Administrative Templates propagate registry settings to a large number of computers without requiring us to have detailed knowledge of the registry. However, the administrator can create custom .adm files if the supplied templates are inadequate. In Windows 2000, we use Group Policy to set registry-based policies. In Windows NT 4.0, we used the System Policy Editor (Poledit.exe) to set System Policy.

Incorrect answers:
B: Windows 2000 does not support an INF policy.

C: Installer packages are used to deploy applications and cannot be used the change the registry.

D: RIS is used for the automated remote installation of Windows 2000 Professional and is not used to configure registry settings.

第4题:

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

第5题:

An administrator created a .env file in a user’s home directory to configure a number of custom environment variables for a local application. However, after the user logs out and then logs back into the system, the custom variables are not being set What is the most likely reason that the custom .env file is being ignored?()

  • A、A shell other than ksh is being used by the user.
  • B、The line ’export ENV=$HOME/.env’ is missing from /etc/profile.
  • C、The line ’export ENV=$HOME/.env’ is missing from the user’s .profile.
  • D、The env_profile attribute is not defined for the user within /etc/security/user.

正确答案:C

第6题:

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

第7题:

If you want to use the Java EE platform’s built-in type of authentication that uses a custom HTML page for authentication. Which two statements are true?()

  • A、Your deployment descriptor will need to contain this tag: CUSTOM.
  • B、The related custom HTML login page must be named loginPage.html.
  • C、When you use this type of authentication, SSL is turned on automatically.
  • D、You must have a tag in your deployment descriptor that allows you to point to both a login HTML pageand an HTML page for handling any login errors.
  • E、In the HTML related to authentication for this application, you must use predefined variable names fort he variables that store the user and password values.

正确答案:D,E

第8题:

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

第9题:

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

第10题:

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.

正确答案:A,D

更多相关问题