开发者

Trigger update of UpdatePanel inside user control?

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜