12.5.05

System.Web.UI.HtmlControls.HtmlInputText

This one saved my skin the other day, and then I needed it again today... So I'm putting it here so I don't loose it.

Allrighty, this can grab HTML elements and perform operations on them (like visibility) like they were native .Net components - very handy. Especially when I was storing values in invisible text boxes. I thought I would be smart and .Net the boxes, but as soon as the visibility was turned off they wouldn't hold text??!?!?

anyway by using HTML text boxes and hiding them you can!

No comments: