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" })

"I have been looking at your Flyout control and I am very impressed! I have been looking for a similar control for quite some time."

Steve Pietrek

Random testimonial   All testimonials