January 29, 2013 08:02 by
Scott
I believe some of you will find this issue. If you create a MVC 4 application using "Internet" template, you will find the "BundleConfig.cs" file in the "App_Start" folder; open it.
You will notice there is a total of 6 bundles (jQuery and CSS) being processed. Now, open the "_Layout.cshtml" file and look at this image:
You will notice only three bundles are added by default. We have to add 2 more to enable the use of Datepicker.
Note to use the same ordering.
Now, on the view page use as follows:
Now if you run the application you will see your Datepicker working.
Hope this helps. Thanks.