Http://community.devexpress.com/forums/p/65455/222233.aspx
The aspxbutton component, when an event is mounted to onclick, even if autopostback is set to false, the PostBack action is still executed when you click it. You need to use the following techniques to avoid this.
Aspx:
<Scripttype = "text/JavaScript">
Function onbuttonclick (S, e ){
E. processonserver = S. _ autopostback;
}
</SCRIPT>
<Dxe: aspxbuttonid = "btntestbutton" runat = "server"
TEXT = "aspxbutton"
Onclick = "onbuttonclick" autopostback = "false">
<Clientsideeventsclick = "onbuttonclick"/>
</Dxe: aspxbutton>
CS:
Protected
Void page_load (Object sender,
Eventargs e ){
Btntestbutton. clientsideevents. init =
String. Format ("function (s, e) {S. _ autopostback = {0 }}}", btntestbutton. autopostback? "True ":
"False ");
}
Protected
Void onbuttonclick (Object sender,
Eventargs e ){
// Do some work
}