Monthly Archives: June 2012

Posting an AJAX JSON request with jQuery

After trying to Google this for the fifth time, and writing it from scratch for the seventh time, I’m sticking this snippet here. In AJAX apps, it’s always made sense to me to do JSON both ways, even though the … Continue reading

Posted in CodeMinder, JavaScript, JSON, Programming, REST | 1 Comment

Script to turn on "Treat Warnings as Errors"

This PowerShell script recursively finds all .csproj files in a directory and sets “Treat warnings as errors” to “All” for every one of them that doesn’t already have it set. I definitely prefer this compilation option, but on larger systems … Continue reading

Posted in PowerShell, Programming | Leave a comment

ASP.NET Selective Validation Hack

Scenario: using classic ASP.NET Web Forms, we have a data entry page. On the bottom of the page are two buttons: “Save Draft” and “Submit.” When a user Saves a Draft, we want to do some validation, but not all. … Continue reading

Posted in Programming | Leave a comment