I have this method on a webpart:
private IFilterData _filterData = null;
[ConnectionConsumer("Filter Data Consumer")]
public void GetConnectionInterface(IFilterData filterData)
{
_filterData = filterData;
}
Now, before I can call upon _filterData, I need to know when i can expect it to not be null. When is this?!
Without knowin...
Say you have several webparts, one as a controller and several which take information from the controller and act on it. This is fairly easy to model using the Consumer/Producer interface introduced in ASP 2.0.
How would you be able to add interactions the other way around whilst still maintaining the above?
A simple example would be...
Hi, I am needing to create some dynamic controls at Page_Load in the consumer webpart. In the Provider webpart I did some hacking and got it so I could get a controls value before viewstate is loaded in Page_Init.
So basically what I want is for webparts to be able to communicate before Page_Load.
[ConnectionConsumer("FormRID Consume...
I make a custom filter web part using the example from MSDN (http://msdn.microsoft.com/en-us/library/bb457205.aspx). The custom web part is a provider and has selection buttons. Each button has multiple values attached to it when clicking on the button. So, AllowMultipleValues is true. When clicking the button, the property ReadOnlyColle...
Hi there.
What I'm trying to accomplish is to make a series of 3 web parts. One that acts as a provider, second - consumer of a first web part and at the same time a provider for a third web part, third web part - consumer of the second.
When overriding the EnsureInterfaces Method the second parameter is InterfaceType and I'm able to ent...