I want to display default text in gray in ASP.Net TextBox. It should clear on focus.
There are many solutions
Javascript
http://www.aspsnippets.com/Articles/Watermark-TextBox-using-JavaScript.aspx
jQuery
AJAX Control Toolkit
http://www.asp.net/ajaxLibrary/AjaxControlToolkitSampleSite/TextBoxWatermark/TextBoxWatermark.aspx
© COPYRIGHT 2025 ASPSnippets.com ALL RIGHTS RESERVED.