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.
Mageshwaran RPosted Oct 29, 2020, 11:01 AM
Trang BartellPosted Oct 29, 2020, 10:12 AM
Sachin SinghPosted Oct 29, 2020, 8:42 AM
Trang BartellPosted Oct 29, 2020, 8:15 AM
Sachin SinghPosted Oct 28, 2020, 11:09 PM
Trang BartellPosted Oct 28, 2020, 3:27 PM
Sachin SinghPosted Oct 28, 2020, 2:39 PM
Trang BartellPosted Oct 28, 2020, 1:30 PM
Sachin SinghPosted Oct 28, 2020, 1:20 PM