Friday, June 29, 2007
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." -Rich Cook
Thursday, June 28, 2007
"No amount of elegant programming or technology will solve a problem if it is improperly specified or understood to begin with." -Milt Bryce
Wednesday, June 27, 2007
"There is nothing more unproductive than to build something efficiently that should not have been built at all." -Milt Bryce
Tuesday, June 26, 2007
Monday, June 25, 2007
Love Deadlines
"I love deadlines. I like the whooshing sound they make as they fly by." --Douglas Adams
Friday, June 22, 2007
Thursday, June 21, 2007
Wednesday, June 20, 2007
Walking on Water
"Walking on water and developing software from a specification are easy if both are frozen." --Edward V Berard
Tuesday, June 19, 2007
Monday, June 18, 2007
Friday, June 15, 2007
Thursday, June 14, 2007
Wednesday, June 13, 2007
Custom Validators for Composite Controls
I have created several custom composite controls (containing multiple input fields) and validators for our website at work.
I needed the SetFocusOnError property to work on my custom validators, but it didn't work by default.
I started to dig through ASP.NET's JavaScript code and found that if my custom composite control was enclosed in a table tag (instead of the default div tag) that the JavaScript would search the table tag for input controls.
The following code will change the default enclosed tag from a div to a table.
public class LengthEditor : CompositeControl
{
protected override HtmlTextWriterTag TagKey
{
get { return HtmlTextWriterTag.Table; }
}
}
Tuesday, June 12, 2007
Safari on Windows
Steve Jobs just announced that Safari 3 has a Public Beta available for the Windows platform. You can grab the beta at Apple's download website.
The Safari 3 Public Beta claims that it is...
I am interested to see how the population responds to the new Windows Safari 3 browser. I wonder what changes, if any I will need to make to my websites to support Safari 3.
The Safari 3 Public Beta claims that it is...
"The fastest web browser on any platform, Safari loads pages up to 2 times faster than Internet Explorer 7 and up to 1.6 times faster than Firefox 2.
And it executes JavaScript up to 2.8 times faster than Internet Explorer 7 and up to 1.6 times faster than Firefox 2."
I am interested to see how the population responds to the new Windows Safari 3 browser. I wonder what changes, if any I will need to make to my websites to support Safari 3.
Monday, June 11, 2007
Friday, June 08, 2007
Thursday, June 07, 2007
Wednesday, June 06, 2007
Tuesday, June 05, 2007
"Beware of bugs in the above code; I have only proved it correct, not tried it." --Donald Knuth
Subscribe to:
Posts (Atom)