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

后端 未结 3 433
隐瞒了意图╮
隐瞒了意图╮ 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:36

    In the code-behind file, you should be able to do:

    ScriptManager.RegisterAsyncPostBackControl(dropdown1);
    

提交回复
热议问题