Setting Control Focus in an Ajax Update Panel

I’ve decided to start posting the solutions I find in irritating little problems that take me forever to find.  Some of these will probably be obvious, but hopefully it might save someone’s time.  My current problem was that I had a DotNetNuke module that was sitting in a AJAX Update Panel.  I needed to set the focus to a particular control based upon a post back click on a radio button.  The standard focus() method didn’t work and neither did the old fashioned RegisterClientScriptBlock stuff with a provided JavaScript function.  Turns out there is an extremely easy way to do this which is to use the ScriptManager SetFocus method using the base Page for the control as shown below:

[Read More]
Categories: Technology 

Amusing Quiz

Apparently, I only rate as a Slightly Dorky Nerd King via the Nerd 2.0 test.  Slightly disappointing . . .

NerdTests.com says I’m a Slightly Dorky Nerd King.  What are you?  Click here!

Categories: Humor 

Web Standards in the Spotlight

Joel Sposky, in his usual highly amusing style, takes on the new IE 8 controversy and points out the enormous gulf between the standards world and the world the rest of us really work in.  I often compare this difference to the difference between open-source and commercial software developers.  There are those who say that it must be done the standard way and there are others that say it should be done to make it easy for the user.  And the rest of us poor suckers live somewhere in between.  My favorite quote from the article:

[Read More]
Categories: Technology 

Arlo Supports Ron Paul

In the strange bedfellows department, folk-singer Arlo Guthrie has thrown his political hat to Ron Paul with this ringing endorsement:

“I love this guy. Dr. Paul is the only candidate I know of who would have signed the Constitution of The United States had he been there. I’m with him, because he seems to be the only candidate who actually believes it has as much relevance today as it did a couple of hundred years ago. I look forward to the day when we can work out the differences we have with the same revolutionary vision and enthusiasm that is our American legacy.”

[Read More]
Categories: Humor News and Politics 

Library of Congress Photo Collection

2162646403_fcbbe516d3 The Library of Congress has started posting some of their enormous collection of over 1 million photographs to Flickr with the hope that you can give them the tags necessary to improve their catalog. It’s a pretty amazing first start. Of course, I’ve spend hours at their main site, The Prints and Photographs Reading Room, which is a truly amazing collection. It’s nice to see that these truly priceless gems are still getting views after all of these years.

[Read More]
Categories: Photography 

Global Warming Sense in The New York Times?

An editor must have fallen asleep because this gem of an article appeared in yesterday’s New York Times:

You’re in for very bad weather. In 2008, your television will bring you image after frightening image of natural havoc linked to global warming. You will be told that such bizarre weather must be a sign of dangerous climate change — and that these images are a mere preview of what’s in store unless we act quickly to cool the planet.

[Read More]
Categories: News and Politics