0

有没有办法通过使用属性来触发 web 用户控件内的 updatepanel 更新?这不起作用

public bool RefreshExclusions
{
    set
    {
        upnl1.Update();
    }
}
4

1 回答 1

1

您可以从您的用户控件中找到更新面板并调用更新方法。像...

((UpdatePanel)Usercontrol.FindControl("updatePanelID")).Update();
于 2011-04-28T07:13:20.130 回答