Issue with SetConsumerData

May 6, 2009 at 1:18 AM
I have 2 smartpart's, one a provider and the other the consumer(Ajax Connections). The idea is to send a set of values on button click from the provider to the consumer. Now here comes the problem: The method SetConsumerData is called everytime there is postback irrespective of whether the buton click happened or not.

Is there a way to avoid this and make it happen only during the button click.