开发者

Trigger update of UpdatePanel inside user control?

开发者 https://www.devze.com 2023-03-01 10:19 出处:网络
Is there any way to trigger up开发者_开发百科date of updatepanel inside a web user control through use of a property ? This does not work

Is there any way to trigger up开发者_开发百科date of updatepanel inside a web user control through use of a property ? This does not work

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


you can find update panel from your user control and call update method. like...

((UpdatePanel)Usercontrol.FindControl("updatePanelID")).Update();
0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号