I am using an update panel. There are lots of checkbox in repeater and I want to use an update panel trigger but I can’t access the checkbox control. How can I access it?
<asp:UpdatePanel ID="up" runat="server">
<ContentTemplate>
</ContentTemplate>
<Triggers>
<asp:AsyncPostBackTrigger ControlID="checkbox1"
EventName= "CheckedChanged" />
</Triggers>
</asp:UpdatePanel>
A control that the
AsyncPostBackTriggercontrol references must be in the same naming container as the update panel for which it is a trigger. Triggers that are based on controls in other naming containers are not supported.You can use
ScriptManager.RegisterAsyncPostBackControlinstead.