<asp:Button ID=“ButtonAdd” UseSubmitBehavior=“true” OnClick=“ButtonAddClick” OnClientClick=“return !AddClientSide();” Text=“Add” runat=“server” />
Thanks
<asp:Button ID=“ButtonAdd” UseSubmitBehavior=“true” OnClick=“ButtonAddClick” OnClientClick=“return !AddClientSide();” Text=“Add” runat=“server” />
Thanks
! is a negation. It means that if AddClientSide() returns true, !AddClientSide() will be false. And if AddClientSide() returns false, !AddClientSide() will be true.