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

"We appreciate your co-ordination, your analysis of our code and efforts in giving us hints/code snippets to find a solution to our unique problem. Thank you very much !!"

Rama Krishnan
ESS - Environmental Support Solutions