Olaide Azeez

Olaide Azeez

  • NA
  • 53
  • 3.8k

Button not triggered inside update pannel

Jul 18 2016 2:55 PM
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)