I have a page with a UserControl (in which linkbuttons are dynamically created). On the page I have a UpdatePanel. What I need to do is to add a AsynchronPostBackTrigger to the UpdatePanel but pointing from a LinkButton that is inside the UserControl.
(in the .aspx)
<asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Always">
<Triggers>
<asp:AsyncPostBackTrigger ControlID="UserControl`s LinkButton" EventName="Click"
</Triggers>
</asp:UpdatePanel>
So whenever i click the LinkButton inside the UserControl, the UpdatePanel on the page will refresh.