shepherdweb.com

Archive for January, 2007

How to Point CompareValidator’s ControlToCompare Attribute at a HiddenField

Tuesday, January 30th, 2007

If you point the ControlToCompare attribute of the CompareValidator at a HiddenField you’ll get an error that looks something like this:
Control ‘hiddenBalance’ referenced by the ControlToCompare property of ‘CompareValidator1′ cannot be validated.

With a small amount of “googling” I found two useful articles:

Validating against the value in a hidden input
MS KB Article 310082

Between these two article [...]

Weird Al’s Top 8!

Friday, January 26th, 2007

I made Weird Al’s top 8!
Technorati Tags: MySpace, White and Nerdy, Weird Al

Apple iPhone Battery Life

Sunday, January 21st, 2007

The iPhone has taken some punches lately regarding it’s battery life. It’s also rumored that the battery is not replaceable. I found the following statement buried at the bottom of the iPhone Technical Specifications page:

Technical specifications are subject to change. 1GB = 1 billion bytes; actual formatted capacity less. Up to 5 hours [...]

Safari Bugs (Bring on OS 10.5 Leopard)

Saturday, January 20th, 2007

I remember feeling a little defensive when I first learned that not all Mac users love Safari. Perhaps it was because I was being ridiculed for liking Safari. I have tried several times to make Firefox my primary browser on the Mac (it already is on PC), but keep coming back. However, [...]

Handling iPhone Objections

Monday, January 15th, 2007

Stephen Frank, in his article I’ve got iPhone Fever!, explains his enthusiasm for the recently announced gadget, and handles some common objections. This one made me laugh:

But I hate Cingular
Yeah, yeah, yeah. I’ve used all four of the major cellular carriers in the US and they’re all scum-sucking spawn of Satan. None of them [...]

For Your Listening/Visual Pleasure: iTunes Love from ShepherdWeb

Sunday, January 14th, 2007

I’ve uploaded more music to my Discography…like I promised I’d do a while back. Just like before, all songs are in AAC format. I’m also providing some “love” for your Cover Flow, if you’re using iTunes; I’ve uploaded album art for many of the recordings. If not, it still may be [...]

ASP.NET Membership Provider Gotcha!

Friday, January 12th, 2007

It turns out that MembershipUser.UserName is a read only property, there is no Set { } method in the Membership Provider, only Get { }. If you try to use Membership.UpdateUser() to change an existing username, you will get the following error:

CS0200: Property or indexer ‘System.Web.Security.MembershipUser.UserName’ cannot be assigned to — it is read [...]

Bad Behavior has blocked 518 access attempts in the last 7 days.