views:

396

answers:

3

What is the easiest way to implement watermark textbox control in ASP.NET MVC, are there any such controls on the internet (codeplex maybe). I suppose it is quite simple to write one extending HtmlHelper and using jquery watermark textbox implementation.

+2  A: 

You could use a Jquery plugin like the following:

Watermark Plugin

There is a sample provided and is simple to use.

MarkB29
Stick with JQuery over AJAX Control
Wil
A: 

You can probably use the AJAX Control Tookkit Watermark control.

desigeek
A: 

I would use this one: http://digitalbush.com/projects/watermark-input-plugin/

camainc