For reasons best not gone into (or at least, not if I want my readers to stay awake), I’ve been working a lot with Microsoft’s AJAX Control Toolkit for .Net recently. If you’re unfamiliar with the ACT, it’s basically a bunch of additional web controls for .Net that do calendars, modal popups… general sorts of nice stuff.
And then suddenly on one page, I noticed a problem.
Well, it worked the first time it ran.
And then the second time, I picked “cheese” instead of “badgers” and I got back this:
Guess what? Turned out to be a bug in the ACT. PopupExtender controls don’t like being inside UpdatePanel controls. Who’da thunk it? What’s really amazing is that over the last 7 weeks, this is only the first time this issue has arisen.
Moral of the story, kids: keep your references up to date, and remember – it’s not always your code that’s at fault!