Thursday, May 21, 2015

The old return false JavaScript trick should keep a DevExpress button from making the callback happen too.

<dx:ASPxButton ID="Button" runat="server" Text="save" AutoPostBack="false">
   <ClientSideEvents Click="whatever" />
</dx:ASPxButton>

...a super simple example might be if the button above utilized:

 
 

function whatever() {
   return false;
}

No comments:

Post a Comment