views:

14

answers:

1

We have a webpart that has 2 user controls.

We want the second user control to be able to read a value from the first user control.

One solution we have considered is an event in the first control, that updates a value in second user control. But not sure where to place / hook up the events so that this works.

Anyone have any idea how this can be done.

+1  A: 

This would be the solution I would consider as well. The page/control where you have your Control1 must listen to the event of Control 1. If the event is raised, you perform the update method of control2 in the eventhandler of the page/control

citronas