Which interface should you use?

You need to send a single value from a consumer Web Part to a provider Web Part.

Which interface should you use?

You need to send a single value from a consumer Web Part to a provider Web Part.

Which interface should you use?

A.
IAlertNotifyHandler

B.
IWebPartField

C.
IWebPartParameters

D.
IWebPartRow

Explanation:
MNEMONIC RULE: “single value = field”

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 2

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