PrepAway - Latest Free Exam Questions & Answers

Which interface should you override?

You are creating a Web Part in SharePoint Server 2010.

You need to ensure that the Web Part can send data to another Web Part.

Which interface should you override?

PrepAway - Latest Free Exam Questions & Answers

A.
IQueryable

B.
ISerializable

C.
IWebEditable

D.
IWebPartField

Explanation:
MNEMONIC RULE: “Web Part send data = IWebPartField”

Defines a provider interface for connecting two server controls using a single field of data.

This interface is designed to be used with Web Parts connections. In a Web Parts connection, two server controls that reside in a WebPartZoneBase zone establish a connection and share data, with one control acting as the consumer and the other control acting as a provider.

IWebPartField Interface
http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.webparts.iwebpartfield.aspx


Leave a Reply