Date picker is one of the most common web UI components. The default
Jquery date picker no doubt provides many customizable options, but in
this article, I will introduce an alternative date picker Jquery-based
plugin with very simple and rich customizable options.
Today, I shall be demonstrating the integration of Jquery Date Picker Plugin using ASP.NET MVC5
platform.

Prerequisites
- Knowledge of Jquery.
- Knowledge of HTML.
- Knowledge of JavaScript.
- Knowledge of Bootstrap.
- Knowledge of ASP.NET MVC5.
- Knowledge of C# Programming.
Let's begin now.
Step 1
Create a new MVC web project and name it "MVCDatePickerPlugin".
Step 2
Download & Install Jquery Date/Time Plugin.
Step 3
Create a "Controllerss\HomeController.cs" file with default Index method and it's subsequent view "Views\Home\Index.cshtml" with following lines of code i.e.
- ...
- <input id="DateId" type='text' class="form-control text-center" placeholder="DD MMM, YYYY" readonly="readonly" />
- ...
In the above code, I have simply created my target read only 'input'
HTML tag with ''id" equal to "DateId" and default date/time format
information in the placeholder.
Step 4
Now, create the JavaScript file "Scripts\script-custom-datetimepicker.js" with the following lines of code i.e.






Mike OCeirinPosted Feb 2, 2021, 11:17 PM
Can not find the datepicker plugin!!!! "Blogger Site"