Trigger an update of the UpdatePanel by a control that is in different ContentPlaceHolder

后端 未结 3 436
隐瞒了意图╮
隐瞒了意图╮ 2020-12-03 07:53

I have a page with two ContentPlaceHolders. One has a DropDown and another UpdatePanel with content.

How can I trigger update to the UpdatePanel by the DropDown\'s

3条回答
  •  死守一世寂寞
    2020-12-03 08:50

    You can enforce update any of page UpdatePanels by call updatePanel1.Update() method on server side. For example during update updatePanel1 on button1.Click call updatePanel2.Update() and both panels will be updated.

提交回复
热议问题