ParametersOutReady Event
The ParametersOutReady event of the IParametersOutProvider interface occurs when the parameter list is ready to be sent to the consumer Web Part from a provider Web Part that implements the IParametersOutProvider interface. On the client computer, it can occur any time; however, it is typically raised when a parameter is updated or selected. On the server, it should be raised in the PartCommunicationMain method.
Event Data
The event handler receives an argument of type ParametersOutReadyEventArgs containing data related to this event. This class provides an array of strings in its ParameterValues property. Each string in the array is a value of a parameter. The number and order of parameters contained in this array must match those specified by the ParametersOutProviderInitEventArgs argument of the ParametersOutProviderInit method.
Remarks
A Web Part that implements the IParametersOutProvider interface should always raise either the ParametersOutReady or the NoParametersOut event. Some Web Parts may not behave properly if they do not receive this information. Raise the ParametersOutReady event to send the parameters. Raise the NoParametersOut event to indicate that there is no change in the parameters.
Example
The following code example shows an overridden PartCommunicationsMain method that fires the ParametersOutReady event. This code example is part of a larger example provided for the IParametersOutProvider interface.
Requirements
Platforms: Microsoft Windows Server 2003
Security: Code Access Security