Justin Cooney

Web Development Tips and Examples

Category: Web Development

  • Personally, I love Regular Expressions. They are incredibly useful and can quickly turn a task that would take many lines of code into a single statement. They are perfect for text manipulation and forms processing & validation. In general they simplify the everyday coding lives of developers world-wide. However, Regular Expressions do come with a…

  • I encountered a quirk today with pre-selecting a list item in the code-behind for a data-bound dropdown list during both the Page.Load and Page.PreRender events. I could set the selected value, but I could not check the list to see if the value that I wanted to select is actually available for selection. This is…

  • 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…