Have you tried the AssociatedControlID attribute of the asp:label control?
It may generate some less crappy html ;-)
<asp:Label ID="Label6" runat="server" Text="Label"
AssociatedControlID="email"/>
<asp:TextBox ID="Email" runat="server" />
--
Support Fairtax Legislation
www.fairtax.org
"A government big enough to give you everything you want, is strong enough
to take everything you have."
-Thomas Jefferson
"Seb" <se******************@gmail.comwrote in message
news:1e**********************************@k37g2000 hsf.googlegroups.com...
<label for="Email" onclick="">
<asp:Label ID="Label6" runat="server" Text="Label" />
<asp:TextBox ID="Email" runat="server" />
</label>
The generated id is far from email. Which cause the label tag not to
function. Anyone know of a way so I can actually use the label tag?