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
Trang Bartell
1.7k
52
1.4k
Having trouble with using "DatePicker" in MVC5 application
Oct 28 2020 12:31 PM
Here is my code:
@Html.TextBoxFor(m => m.DTE_EFFECTIVE, new { @type = "date", @class = "form-control datepicker", @Value = Model.DTE_EFFECTIVE.ToShortDateString() })
Here is the page:
The DatePicker worked great. I was able to select a date and saved to the database. However, the only thing displayed was mm/dd/yyyy. How can I get the date to display with the "datepicker"? Thank you for your help.
Reply
Answers (
9
)
Blazor or Angular/React
An MVC custom error logger trying to call a web api using async