Skip to content
Loading
DatePicker in ASP .NET MVC Core 
+1
  • Satya Karki
    Hi,
    use input control with type=date
     
    https://www.w3schools.com/tags/att_input_type_date.asp
    +1
  • Rijwan Ansari
    Use simple html5 input control with type date as shown:
     
    1. "date" id="dateInput" name="datepicker">  
    example:
    https://www.w3schools.com/tags/tryit.asp?filename=tryhtml5_input_type_date 
    +2
  • Hi, you need Ajax Toolkit.
     
    https://docs.microsoft.com/en-us/aspnet/web-forms/overview/ajax-control-toolkit/getting-started/get-started-with-the-ajax-control-toolkit-cs
     
    Drag a textbox to you project then you will see an arrow in the top right of it which says Add Extender.
     
    Add the Calender.
     
    After doing that format the date as you wish.
     
    +1