Label to a form input field.NET Tip of The Day.org
If you set a label to a form element set the AssociatedControlID property. This will force the label to render as <label> rather than <span>. A benefit of using the AssociatedControlID property is that clicking a label when this property is set automatically changes the form focus to the associated form input.
no comments yet.
Trinity Rescue Kit Resets Forgotten Windows Passwords [Featured Download]Lifehacker »« Trim Down Windows to the Bare Essentials [Feature]Lifehacker
