Archive for November 1st, 2007

ASP.NET Nested TextBox Bug

Well, I learned something a couple of days ago and in the process also found an "Undocumented Feature" in ASP.NET 2.0

First, I learned that you can nest an asp:TextBox inside an asp:Label control and if you then set the associatedcontrolid attribute of the Label control to the id of the TextBox control, the label will render as a label element instead of a span element.  Both are pretty cool and both are not very well known.

Read the rest of this entry »