TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Terry
NA
148
0
How to write example text in a TextBox ?
Apr 1 2015 12:34 PM
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
Reply
Answers (
8
)
Button Click in a TableCell never fires and table disappears
scan virus while uploading file and genarate report