You create a Web Form. The Web Form contains two Web Parts n

题目
多选题
You create a Web Form. The Web Form contains two Web Parts named CustomerPart and OrdersPart. CustomerPart contains a drop-down list of customers. OrdersPart contains a list of orders that a customer has placed. You need to create a static connection between CustomerPart and OrdersPart. When a user selects a customer from CustomerPart, OrdersPart must update. Which four actions should you perform? ()
A

Add the ConnectionProvider attribute to OrdersPart.

B

Add the ConnectionProvider attribute to CustomerPart.

C

Add the ConnectionConsumer attribute to CustomerPart.

D

Add the ConnectionConsumer attribute to OrdersPart.

E

Add OrdersPart and CustomerPart to the WebParts directory.

F

Add OrdersPart and CustomerPart to the App_Code directory.

G

Declare the connections within a StaticConnections subtag of a WebPartZone class.

H

Declare the connections within a StaticConnections subtag of a WebPartManager class.

I

Define an interface specifying the methods and properties that are shared between the Web Parts.

参考答案和解析
正确答案: A,E
解析: 暂无解析
如果没有搜索结果或未解决您的问题,请直接 联系老师 获取答案。
相似问题和答案

第1题:

You create a Web Form that contains connected Web Parts. You write the following declaration in your Web Form.You need to ensure that your Web Part connection is valid. Which two actions should you perform? ()

A. Include a data source identified as "WebPartConnection1" on the Web Form.

B. Include a Web Part identified as "customerPart" on the Web Form.

C. Include a Web Part identified as "ordersPart" on the Web Form.

D. Ensure that you declare an interface named "IOrdersPart".

E. Ensure that you declare an interface named "ICustomerPart".

F. Ensure that each Web Part declares either a GetInterface or ProvideInterface method.


参考答案:B, C

第2题:

You create a Web Form that contains connected Web Parts. You write the following declaration in your Web Form. You need to ensure that your Web Part connection is valid. Which two actions should you perform? ()

  • A、Include a data source identified as "WebPartConnection1" on the Web Form.
  • B、Include a Web Part identified as "customerPart" on the Web Form.
  • C、Include a Web Part identified as "ordersPart" on the Web Form.
  • D、Ensure that you declare an interface named "IOrdersPart".
  • E、Ensure that you declare an interface named "ICustomerPart".
  • F、Ensure that each Web Part declares either a GetInterface or ProvideInterface method.

正确答案:B,C

第3题:

You create a Web site. You add an EditorZone control to the home page on the Web site. You need to enable users to customize the size and location of the Web Parts on their home pages.Which two controls should you add to the EditorZone control?()

A. BehaviorEditorPart

B. AppearanceEditorPart

C. PropertyGridEditorPart

D. LayoutEditorPart


参考答案:B, D

第4题:

You create a Web site. You add an EditorZone control to the home page on the Web site. You need to enable users to customize the size and location of the Web Parts on their home pages. Which two controls should you add to the EditorZone control?()

  • A、BehaviorEditorPart
  • B、AppearanceEditorPart
  • C、PropertyGridEditorPart
  • D、LayoutEditorPart

正确答案:B,D

第5题:

You create a Web Form. The Web Form contains two Web Parts named CustomerPart and OrdersPart. CustomerPart contains a drop-down list of customers. OrdersPart contains a list of orders that a customer has placed. You need to create a static connection between CustomerPart and OrdersPart. When a user selects a customer from CustomerPart, OrdersPart must update. Which four actions should you perform? ()

  • A、Add the ConnectionProvider attribute to OrdersPart.
  • B、Add the ConnectionProvider attribute to CustomerPart.
  • C、Add the ConnectionConsumer attribute to CustomerPart.
  • D、Add the ConnectionConsumer attribute to OrdersPart.
  • E、Add OrdersPart and CustomerPart to the WebParts directory.
  • F、Add OrdersPart and CustomerPart to the App_Code directory.
  • G、Declare the connections within a StaticConnections subtag of a WebPartZone class.
  • H、Declare the connections within a StaticConnections subtag of a WebPartManager class.
  • I、Define an interface specifying the methods and properties that are shared between the Web Parts.

正确答案:B,D,H,I

第6题:

You need to design a configuration for the Microsoft Outlook Web Access servers. What should you do?()

  • A、Create a Network Load Balancing cluster that contains the Outlook Web Access servers
  • B、Create a Microsoft Cluster Server cluster that contains the Outlook Web Access servers
  • C、Create public DNS host (A) resource records for each Outlook Web Access server. Instruct each user to connect to the server that contains his or her mailbox
  • D、Install Microsoft Application Center 2000 on the Outlook Web Access servers. Create a Web cluster that contains all of the Outlook Web Access servers

正确答案:A

第7题:

You create a Web Form. You need to add controls that use adaptive rendering to display content. The type of content rendered must depend on the device that is requesting the page. What are two possible ways to achieve this goal? ()

  • A、Add custom controls that emit XHTML to the Web Form.
  • B、Add custom controls that emit WML to the Web Form.
  • C、Add mobile controls to the Web Form.
  • D、Add Web server controls to the Web Form.

正确答案:C,D

第8题:

You create a Web application for your company‘s intranet. You want to enable users to customize their versions of the intranet home page. You create sections of content as Web Parts. You need to ensure that users can customize content at any time.Which two code segments should you use?()

A.

B.

C.

D.


参考答案:B, C

第9题:

You create a Web Form. The Web Form allows users to recover their passwords. You add a PasswordRecovery server control by using the following code segment.You need to ensure that the server control generates a new password and sends it by e-mail to the users e?mail address. Which two actions should you perform?()

  • A、Create a valid definition in the Web.config file.
  • B、Set the passwordFormat attribute of the configured membership provider to Encrypted.
  • C、Ensure that the enablePasswordRetrieval attribute of the configured membership provider is set to False.
  • D、Ensure that the enablePasswordRetrieval attribute of the configured membership provider is set to True.

正确答案:A,C

第10题:

Your network contains two Web servers named Web1 and Web2. Web1 hosts the companys corporate Web site. Web2 is a test server that contains a copy of the Web site.Users connect to Web1 by using the URL http://www.contoso.com.A Web developer named User1 plans to test updates to the Web site on Web2.You need to ensure that User1 connects to Web2 by using the URL http://www.contoso.com. The solution must ensure that all other computers connect to Web1.What should you do?()

  • A、From User1s computer, create a record in the Hosts file.
  • B、From User1s computer, create a record in the Lmhosts file.
  • C、From a DNS server, create a new Host (A) resource record.
  • D、From a DNS server, create a new Alias (CNAME) resource record.

正确答案:A

更多相关问题