Trigger update of UpdatePanel inside user control?

835 Views Asked by At

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();
    }
}
1

There are 1 best solutions below

0
Muhammad Akhtar On BEST ANSWER

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

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