What should you do next?

You plan to create one provider Web Part and two consumer Web Parts.

You need to ensure that the consumer Web Parts can receive data from the provider Web Part.

You create an interface that contains the following code segment.

public interface Interface1
{
string Parameter1 { get; set; }
}

What should you do next?

You plan to create one provider Web Part and two consumer Web Parts.

You need to ensure that the consumer Web Parts can receive data from the provider Web Part.

You create an interface that contains the following code segment.

public interface Interface1
{
string Parameter1 { get; set; }
}

What should you do next?

A.
Implement Interface1 in the provider Web Part.

B.
Implement IWebPartField in the provider Web Part.

C.
Create a set accessor for Parameter1.

D.
Create a second interface and use it to communicate with the provider Web Part.

Explanation:
MNEMONIC RULE: “Implement Interface1”

Walkthrough: Creating Connectable Web Parts in SharePoint Foundation
http://msdn.microsoft.com/en-us/library/ms469765.aspx

SharePoint 2010 Provider Consumer Web Parts
http://johanolivier.blogspot.com/2010/08/sharepoint-2010-provider-consumer-web.html



Leave a Reply 0

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