It looks like aLabel is assumed to be a System.Web.UI.WebControls.Label? That renders as a span in the client-side HTML, so the existance of a for attribute won't do much anyway. I'm not sure if this is affecting your results or not, but that is the first
issue I see.
"Dream as if you'll live forever, live as if you'll die today." --James Dean
AceCorban
Star
12556 Points
2313 Posts
Re: Incorrect 'for' attribute in Label automatically added
Nov 23, 2011 06:19 PM|LINK
It looks like aLabel is assumed to be a System.Web.UI.WebControls.Label? That renders as a span in the client-side HTML, so the existance of a for attribute won't do much anyway. I'm not sure if this is affecting your results or not, but that is the first issue I see.