Click here to Skip to main content
15,888,461 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
if i use :
<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>

this file then my datepicker is not working.plz help me?
Posted
Comments
Do you see any errors in Developer Tool's Console Tab?
Member 9027346 17-Mar-14 4:20am    
no error

The order of the JS file in your page and/or master page is important. For example I am using in my MVC project (with date picker) like the next JS files order:

@Content.Script("jquery-1.5.2.min.js", Url)
    @Content.Script("jquery.unobtrusive-ajax.min.js", Url)
    @Content.Script("jquery-ui-1.8.11.min.js", Url)
    @Content.Script("jquery.ui.datepicker-en.js", Url)
 
Share this answer
 
See the steps of this article which will help you to work under datetime picker.

Comment your previous used Scripts reference @* @Scripts.Render("~/bundles/jquery")*@ and add reference inside header tag.

Using Controls are Dropdownlist, RadioButtonList, DateTime Calender, FileUpload, Cascading Dropdown[^]
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900