Search code examples
asp.netajaxupdatepanelweb-user-controls

Trigger update of UpdatePanel inside user control?


Is there any way to trigger update of updatepanel inside a web user control through use of a property ? This does not work

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

Solution

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

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