Richard Payne said:
Hi
I am after what is the best/simplest way to pass objects between Web User
Controls which doesn't use the session object.
It's probably a bad idea to pass objects between web user controls. Why
should they even know about each other?
On the other hand, the page they are located within should know about all
the user controls within it. So let the page take values from one user
control and pass them to the other. Use public properties on the user
controls to enable this.
The same goes for events. One user control should probably not raise events
for another user control to handle, since they shouldn't know about each
other. Let the page handle the event from user control A and then set
properties or call methods on control B.