Which four actions should you perform?

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? (Each correct answer presents part of the solution. Choose four.)

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? (Each correct answer presents part of the solution. Choose four.)

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.



Leave a Reply 0

Your email address will not be published. Required fields are marked *