UJ said:
I have two user controls on a page. When a user selects something from one,
the other one has to react. How do I go about this?
TIA.
Jeffrey.
Here is how I would handle it. There may be other ways.
Page1 has controlA and ControlB. In Page1 declare the controls "withevents".
In ControlA you need an event which can be raised, say ControlA_Click. In
ControlB you need a property which can be set. In Page1 you need a process
to handle the ControlA_Click event. In that process you set the property of
controlB. If you need to pass a value then you can pass it in an event
argument.
Mike