3
Reply

Button not triggered inside update pannel

Olaide Azeez

Olaide Azeez

Jul 18 2016 2:55 PM
259
Please find my code below for a button inside an update pannel, the button do not load the code behind.
 
<asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode = "Always" ChildrenAsTriggers = "True">
<ContentTemplate>
<asp:Button ID="convBut" runat="server" onclick="convBut_Click"
style="font-family: Verdana; font-size: xx-small" Text="confirm"
type="button" />
</ContentTemplate>
<Triggers>
<asp:AsyncPostBackTrigger ControlID="convBut" />
</Triggers>
</asp:UpdatePanel>

Answers (3)