I have a button that when pressing shows a modal and loads the data of a query but when pressing it does not react the method in the code of C # when doing tests it never enters the method.
<asp:Button ID="btnaddRequest" CssClass="btn btn-primary btn-lg" runat="server" data-toggle="modal" data-target="#MLrequest" Text="Agregar" OnClick="btnaddRequest_Click" />
in C #
protected void btnaddRequest_Click(object sender, EventArgs e)
{
lblCprovidier.Text = "0";
lblCproductos.Text = "0";
lblCcot.Text = "0";
}