September 2007 - Posts

26 September 2007
Dynamically Inject Validation Controls From A Base ASP.NET Page
I've been out of work this week sick (which really sucks...I don't do very well with idle time, plus I haven't been sick enough to miss work in many years), so what better time to catch up on some blogging. We had an interesting scenario at work recently whereby we needed to dynamically attach a number of asp.net validation controls to various TextBox controls on all of our existing pages. Specifically we had written a custom validation control which would test a control to make sure it didn't contain any HTML tags (a common enough scenario). This post assumes knowledge of authoring custom asp.net validation controls, i.e. inherit from BaseValidator and override EvaluateIsValid . For anyone needing a refresher, check out this MSDN post on custom validation controls . There are multiple ways to go about attaching asp.net validation controls to the controls they need to validate, but in the end I settled on going with a base page class that our existing base page could inherit... Read More...
11 September 2007
Bought A Condo -- Celadon Greenway
We've bought a condo! Actually, we put a deposit down on it a few months ago, but things were a little dicey after the Microsoft shake up . Everything has leveled off, i.e. the new job is going swimmingly and we're forging ahead. There is one issue with our new purchase: They haven't been built yet. Actually they just broke ground about 2 weeks ago, and construction is expected to to complete sometime next Spring so we're in full blown hurry up and wait mode. The development itself is extremely cool: Enter Celadon Greenway . I've been living in the middle of uptown Charlotte now for about 7 years; this will be the segway to our transition to just outside center city...a whopping .5 miles from where we live now. The main goal of this building project is being very eco-friendly. If everything goes as the developer plans, we'll be one of the first LEED certified residential complexes in the entire country. Read more about their goals here . Picture time: This is a CG... Read More...
08 September 2007
Machine Preparations For Overclocking
My main workstation is getting on up there in age...it's about 27 months old, though the video card and processor were both upgraded within the past 6 months. I'm not really in the mood to wrangle together a completely new machine, so I've decided to go the overclocking route to try and eek out whatever performance gains I can. I've never been much of a hardware kind of guy, though I do remember the days of going through the tedious process of booting into the BIOS, increasing the FSB/Clock/etc a couple of clicks at a time, rebooting, and then running <insert benchmarking software here, usually Sandra or PCMark>. Lather, rinse, and repeat until you got the machine to crash, then back the settings down just a bit and voila...a faster running machine that only took the better part of a day to achieve. Now there are automated tools that'll do all of this straight from the Windows GUI, although my beloved nTune does not support dual core processors. Any recommendations... Read More...
07 September 2007
So That's How The eSata Drives Generate Revenue Money
My new eSata drive arrived today...Newegg was having a special, so I got 320 gigs for 80 bucks. You can't beat that, save for one thing: It didn't come with an eSata cable. Price of said cable? 20 bucks , and it has to be ordered seeing as no one in a brick and mortar around here carries them. Sounds like a fantastic ploy on the drive makers' parts: Sell the drive for cheap, but charge an arm and a leg for the connectivity. It was still a pretty sweet deal even after having to fork out extra dough just to hook the thing up to my machine. Read More...