2
I have a linkButton that is disabled via server, so:
lkExcluir.Enabled = false;
Code:
<asp:LinkButton ID="lkExcluir" runat="server" Text="[Excluir]" Font-Bold="true" OnClick="lkExcluir_Click" OnClientClick="return confirm('Tem certeza que deseja excluir');"></asp:LinkButton>
If I click on the button Untied, the message appears Are you sure you want to delete case okay the event is arranged lkExcluir_Click
, what should I do to not display the message and consequently does not trigger the event?