Justin Cooney

Web Development Tips and Examples

Category: JavaScript

  • Today Luvy and I looked at updating the logic for an ASP.NET forms page that we are working on. The page contains a multi-row update-able GridView, and we were asked to make sure that if one CheckBox control was unchecked, that another CheckBox  control on the same grid line would also uncheck itself. We chose to handle…

  • The Challenge: IE blocks cookies from pages that are called in an iFrame. In my case this involved an ASP.NET application called from a Drupal CMS via a jQuery-based FancyBox. Details: Today I ran into an interesting IE problem that was tricky to track down. A few years ago I inherited a simple but useful…

  • When using JavaScript on a ASP.NET Webforms page one can register the JavaScript function to execute using the OnClientClick attribute of the asp:button control. This can be quite usefu,l for example, when adding a script to stop duplicate submissions. However, it is important to correctly disable the button control since using the wrong command will cause…