If you use <button type="button" data-toggle="modal" data-target="#ConvenioOk">Teste </button>
, modal opens. But I have to use the C # button because of the event. The button calling the modal is thus <asp:Button ID="btnCadastrarCon" runat="server" data-togggle="modal" data-target="#ConvenioOk" Text="Cadastrar" OnClick="btnCadastrarCon_Click" />
Is there any way to use modal with the asp button, even without using the bootstrap? If so, can you give examples?