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 must say the controls are awesome. I am very impressed with Scheduler component."

Kris
Metis Systems

Random testimonial   All testimonials