Wednesday, February 28, 2007

The Machine is Using Us

A colleague of mine sent me a link to a wonderful YouTube video. It's definitely worth taking a peek. I personally find it thought provoking to say the least.

Tuesday, February 27, 2007

ASP.NET 2.0 GridView Control Bug

Okay, I'm posting this in the hopes of saving some other poor sod some hair pulling. It turns out there's a bug in the 2.0 version of the GridView control that causes a double-postback when the OnRowCommand event fires for a row that's defined as a ButtonField with the type set to Image.

There's a creative way to get around this. Rather than setting the type to Image and specifying the ImageUrl, leave the type blank and put HTML for the text property that will display the image.

There's good information about this problem posted here.

Friday, January 19, 2007

IIS Manager Shortcut

Here's something cool if you're a command-line junky like me. The Run command to open up the MMC console for IIS is "inetmgr". Give it a try!