how to use ajax control like TextBoxWatermark, FilteredTextBox in MVC?

Posted by Prabu_Spark under ASP.NET on 5/21/2014 | Points: 10 | Views : 1237 | Status : [Member] | Replies : 2
Hi sir,

Tell me the steps to use ajax control like TextBoxWatermark, FilteredTextBox in MVC. Kindly give me the solution for this problem.

With regards,
J.Prabu.
[Email:prbspark@gmail.com]



Responses

Posted by: Sheonarayan on: 5/23/2014 [Administrator] HonoraryPlatinum | Points: 25

Up
0
Down
All what you want to implement can be done using HTML5 easily. For example TextBox watermark can be achieved by specifying Placeholder attribute of <input type="textbox" placeholder="My watermark" />

Please read this article http://www.dotnetfunda.com/articles/show/1763/what39s-new-in-html5-forms and also this article http://www.dotnetfunda.com/articles/show/1757/html5-tag-elements

If your project doesn't allow you to use HTML5, you can use jQuery plugins like https://code.google.com/p/jquery-watermark/.

Hope this will help.
Thanks

Regards,
Sheo Narayan
http://www.dotnetfunda.com

Prabu_Spark, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Vforvijay on: 5/24/2014 [Member] Starter | Points: 25

Up
0
Down
hi..
Refer the below to show watermark
http://www.dotnetcode.in/2012/01/textboxwatermarkextender-in.html

Prabu_Spark, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response