Asynchronous communication between the client and server using ICallbackEventHandler

Implementing client callbacks without postbacks in ASP.NET can be done in several ways: Using UpdatePanel control Exposing Web Services to client-side script Calling a Web service from client-side using jQuery or Microsoft Ajax functions Implementing ICallbackEventHandler many others… But this post doesn’t intend to discuss the differences between them, but to show the last option […]

Fix: Disabling a button doesn’t fire click event on server side

Problem: You have buttons that get disabled in the Javascript onClick event handler to prevent the user from clicking multiple times. However, the server side¬†OnClick event handler doesn’t get fired. In this example, Button1 is using validation while Button2 is not (CausesValidation=”false”). Before performing action on the button, I check if the client validation is […]