Chromecast receiver app development with AngularJS

Despite what everyone will tell you, AngularJS just happens to be an excellent tool for developing Chromecast receiver apps because Angular is lightweight and it’s essentially a great tool for Single Page Applications, which is exactly what a custom receiver app is. If this is your first time with Chromecast, I suggest you read more about it here before […]

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 form.target to ‘_blank’ 2) Or using Javascript window.open 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 […]