Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
8
Reply
How to write example text in a TextBox ?
Terry
Apr 1 2015 12:34 PM
682
Reply
Hi,
In many of my fields I want to write some text (sort of help, format, watermark) type of text in my TextBox. For instance, in a date textbox, I want to show the format "dd/mm/yyyy" and when user in on the textbox it disappears & if the textbox is empty then it appears.
I believe their is some simple method to do this, but I can't find out. I tried
[Display(Name = "First Name *", Prompt = "First Name")]
but it doesn't work. Google'd lot for the same but didn't get any answer as I want to. In Login, in Email box, their should be "
[email protected]
" text.
Can you help me identify what is the key to achieve this functionality.
Thanks
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
8
)
Next Recommended Forum
Button Click in a TableCell never fires and table disappears
scan virus while uploading file and genarate report