Response.Redirect to a new window

While it’s not possible to use the provided method to redirect it to a new window, you can achieve the desired behavior by: 1) Changing the to ‘_blank’ 2) Or using Javascript You can also call a Javascript function in client-side without doing the post-back on server-side. As you noticed, there are several […]

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 […]