Asp button inside a modal does not Triggering to click Event

Asked

Viewed 30 times

0

If I click the button, he’ll check the textbox , incorrect formats etc , but if the textbox are all validated it does not call the event associated with it any idea ? the boot is inside a form with runat="server" that I inherit from master page.

<asp:Button ID="subPedido" runat="server" Text="Enviar" OnClick="SubPedido_Click" CssClass="buttonFloatRight"></asp:Button>

It works if you’re out of modal

  • Pedro, there is the click event created in the code-Behind?

  • @Angelosimonato yes there is, by the way, if I replace the <Asp:Button> with an <Asp:Linkbutton> works perfectly, but it ignores the checks of the texts

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.