I have upgrade to NetAdvantage 2010.3 SR 2073 and now the UltraWebToolbar server side OnButtonClicked event handler is not firing after the client side Click event is handled and returns true (to continue the async postback). The client Click event fires and does what it needs to do to validate row data entries before posting back to save the row changes but even though the client Click handler is returning true the OnButtonClicked handler is not being fired - it is going straight to the Page_Load event handler for the page. This was working fine and now it is broken - I wish I could rely on Infragistics to not break things from SR to SR but that is not the case - very dissapointed.
Hello majensen,
By my understading of your scenario, you want to cancel or not the postback inside client side function. By default if you return true, you are canceling the event.
In the old toolset most of these client-side events are cancelable. The most significant of which are the Before events. To cancel an event, return true in the event handler. For cases in which a Before event has a corresponding server-side event handled, returning true in the client-side event also cancels the postback to trigger the server-side event.
In your case Click client side event has a third parameter oEvent:
http://help.infragistics.com/Doc/ASPNET/2010.3?page=WebToolbar_Client_Side_Quick_Start.html
In order to cancel the postBack you should set :
oEvent.cancel = true; oEvent.needPostBack = false; // to cancel the postBack ,
If you want to proceed with postBack you should set oEvent.needPostBack = true;
Please refer to the below forum thread for more information:
https://ko.infragistics.com/community/forums/f/general/17693/my-keys-and-downloads-page-on-website-does-not-work-from-linux#17693
Let me know if you need further assistance regarding this.