你可以很容易地做以下工作:
1) create an event in control 1.
2) create a public method in control 2, that gets called if the event in control 1 is raised
3) subscribe to the event of control 1 (where you instanciate them, e.g. another control, a content page or a master page)
4) inside the event handler from 3), call the method created in 2)
5)如果控制2与控制1进行沟通,则采取其他行动
所有这一切都需要在服务器上安装。 我确信,也可能有客户方的解决办法。
Edit after comment:
There are only two possible communication ways I can think of:
1) the controls don t know each other and therefore can t communicate directly. => you need a third control/page/masterpage/whatever (database, service etc) to enable the communication
2) the controls reference each other and therfore can communicate directly => very bad OOP. If you use this, you do not understand OOP at all and should consider your job
自由地选择其中一种选择。