ASP.NET MVC Interface Controls - Textbox -
WatermarkText property


 



Use the WatermarkText property to set a default text for the text box.
The watermark text is displayed as long as the text box is empty.


C#
Html.Obout(new OboutTextBox("txt1") { WatermarkText = "Username" })

"Great product by the way, I bought the whole obout suite about 6 months ago and never regretted it for a second."

Dr. Daniel Donnelly
Bliss-Systems Ltd

Random testimonial   All testimonials